#66197D#66197D

#66197D is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.164 H 316.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#66197D
RGBrgb(102, 25, 125)
HSLhsl(286, 67%, 29%)
HSVhsv(286, 80%, 49%)
CMYKcmyk(18.4%, 80%, 0%, 51%)
CIE-LABlab(26.74, 48.06, -39.74)
CIE-LCHlch(26.74, 62.36, 320.41°)
OKLaboklab(38.99% 0.1197 -0.1119)
OKLCHoklch(38.99% 0.164 316.9)
XYZxyz(9.5282, 5.0011, 19.8615)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66197D #307D19
analogous
#34197D #66197D #7D1962
triadic
#66197D #7D6619 #197D66
tetradic
#66197D #7D3419 #307D19 #19627D
square
#66197D #7D3419 #307D19 #19627D
split-complementary
#66197D #627D19 #197D34
monochromatic
#15051A #3C0F4A #66197D #9023B0 #B339D7

Accessibility & contrast

On white

10.50
#66197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#66197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66197D
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66197D#FFFFFF#000000##FFFFFF
##66197D1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#1A417B
Tritanopia (blue-blind)
#652F4B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #66197d;
/* rgb */ color: rgb(102, 25, 125);
/* oklch */ color: oklch(39.0% 0.164 316.9);
Tailwind
colors: {
  custom: {
    50: '#9560a3',
    500: '#66197d',
    950: '#000000',
  },
}
SCSS
$custom: #66197d;
$custom-light: #9560a3;
$custom-dark: #000000;
JSON
{
  "hex": "#66197d",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 286.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38988,
    "c": 0.1639,
    "h": 316.9
  },
  "luminance": 0.05001
}

Semantic roles & 50–950 ramp

primary
#66197D
secondary
#5AB140
accent
#EA3E66
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #66197D

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

Preview Lab → · Contrast checker → · Palette generator →

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