#66187C#66187C

#66187C is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.164 H 317.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#66187C
RGBrgb(102, 24, 124)
HSLhsl(287, 68%, 29%)
HSVhsv(287, 81%, 49%)
CMYKcmyk(17.7%, 80.6%, 0%, 51.4%)
CIE-LABlab(26.55, 48.20, -39.42)
CIE-LCHlch(26.55, 62.26, 320.72°)
OKLaboklab(38.83% 0.1208 -0.111)
OKLCHoklch(38.83% 0.164 317.4)
XYZxyz(9.4437, 4.9337, 19.5197)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66187C #2E7C18
analogous
#34187C #66187C #7C1860
triadic
#66187C #7C6618 #187C66
tetradic
#66187C #7C3418 #2E7C18 #18607C
square
#66187C #7C3418 #2E7C18 #18607C
split-complementary
#66187C #607C18 #187C34
monochromatic
#15051A #3C0E49 #66187C #9022AF #B536D8

Accessibility & contrast

On white

10.57
#66187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#66187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66187C
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66187C#FFFFFF#000000##FFFFFF
##66187C1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#1B417A
Tritanopia (blue-blind)
#652E4A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #66187c;
/* rgb */ color: rgb(102, 24, 124);
/* oklch */ color: oklch(38.8% 0.164 317.4);
Tailwind
colors: {
  custom: {
    50: '#955fa2',
    500: '#66187c',
    950: '#000000',
  },
}
SCSS
$custom: #66187c;
$custom-light: #955fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#66187c",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 286.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38829,
    "c": 0.16402,
    "h": 317.4
  },
  "luminance": 0.04933
}

Semantic roles & 50–950 ramp

primary
#66187C
secondary
#58B13F
accent
#EA3D63
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #66187C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#66187C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva