Color #270066
A vivid, highly saturated dark purple.
Conversions
#270066
rgb(39, 0, 102)
hsl(262.9, 100%, 20%)
hsv(262.9, 100%, 40%)
cmyk(61.8%, 100%, 0%, 60%)
lab(11.89, 41.79, -49.54)
lch(11.89, 64.81, 310.15)
oklch(26.1%, 0.1497, 287.66)
hwb(262.9, 0%, 60%)
Harmony colors
Accessibility
White text reads better on this background (16.43:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1c1c59 · ΔE 8
Deuteranopia
#1e2056 · ΔE 9.7
Tritanopia
#264e4b · ΔE 31.5
Achromatopsia
#1f1f1f · ΔE 26.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #270066;
bg-[#270066]
Related colors
Frequently asked questions
#270066 (#270066) is rgb(39, 0, 102) in RGB.
No, #270066 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #270066, or check how it holds up for accessibility.