#66187D#66187D

#66187D is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.165 H 317.0°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#66187D
RGBrgb(102, 24, 125)
HSLhsl(286, 68%, 29%)
HSVhsv(286, 81%, 49%)
CMYKcmyk(18.4%, 80.8%, 0%, 51%)
CIE-LABlab(26.62, 48.40, -39.93)
CIE-LCHlch(26.62, 62.75, 320.48°)
OKLaboklab(38.9% 0.1206 -0.1125)
OKLCHoklch(38.9% 0.165 317)
XYZxyz(9.5072, 4.9591, 19.8545)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66187D #2F7D18
analogous
#34187D #66187D #7D1862
triadic
#66187D #7D6618 #187D66
tetradic
#66187D #7D3418 #2F7D18 #18627D
square
#66187D #7D3418 #2F7D18 #18627D
split-complementary
#66187D #627D18 #187D34
monochromatic
#15051A #3C0E4A #66187D #9022B0 #B437D9

Accessibility & contrast

On white

10.54
#66187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #66187D
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66187D#FFFFFF#000000##FFFFFF
##66187D1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#19417B
Tritanopia (blue-blind)
#652F4A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #66187d;
/* rgb */ color: rgb(102, 24, 125);
/* oklch */ color: oklch(38.9% 0.165 317.0);
Tailwind
colors: {
  custom: {
    50: '#955fa3',
    500: '#66187d',
    950: '#000000',
  },
}
SCSS
$custom: #66187d;
$custom-light: #955fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#66187d",
  "rgb": {
    "r": 102,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 286.337,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38904,
    "c": 0.16493,
    "h": 317
  },
  "luminance": 0.04959
}

Semantic roles & 50–950 ramp

primary
#66187D
secondary
#59B23F
accent
#EB3D65
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #66187D

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

Preview Lab → · Contrast checker → · Palette generator →

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