#66197E#66197E

#66197E is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.165 H 316.5°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#66197E
RGBrgb(102, 25, 126)
HSLhsl(286, 67%, 30%)
HSVhsv(286, 80%, 49%)
CMYKcmyk(19%, 80.2%, 0%, 50.6%)
CIE-LABlab(26.81, 48.26, -40.25)
CIE-LCHlch(26.81, 62.85, 320.17°)
OKLaboklab(39.06% 0.1196 -0.1134)
OKLCHoklch(39.06% 0.165 316.5)
XYZxyz(9.5924, 5.0268, 20.1996)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66197E #317E19
analogous
#34197E #66197E #7E1963
triadic
#66197E #7E6619 #197E66
tetradic
#66197E #7E3419 #317E19 #19637E
square
#66197E #7E3419 #317E19 #19637E
split-complementary
#66197E #637E19 #197E34
monochromatic
#15051A #3D0F4B #66197E #8F23B1 #B23AD8

Accessibility & contrast

On white

10.47
#66197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#66197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66197E
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66197E#FFFFFF#000000##FFFFFF
##66197E1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#19417C
Tritanopia (blue-blind)
#64304B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #66197e;
/* rgb */ color: rgb(102, 25, 126);
/* oklch */ color: oklch(39.1% 0.165 316.5);
Tailwind
colors: {
  custom: {
    50: '#9560a4',
    500: '#66197e',
    950: '#000000',
  },
}
SCSS
$custom: #66197e;
$custom-light: #9560a4;
$custom-dark: #000000;
JSON
{
  "hex": "#66197e",
  "rgb": {
    "r": 102,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 285.743,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39063,
    "c": 0.16482,
    "h": 316.5
  },
  "luminance": 0.05026
}

Semantic roles & 50–950 ramp

primary
#66197E
secondary
#5CB241
accent
#EA3E67
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #66197E

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

Preview Lab → · Contrast checker → · Palette generator →

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