#66137F#66137F

#66137F is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.7% C 0.171 H 316.5°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#66137F
RGBrgb(102, 19, 127)
HSLhsl(286, 74%, 29%)
HSVhsv(286, 85%, 50%)
CMYKcmyk(19.7%, 85%, 0%, 50.2%)
CIE-LABlab(26.23, 50.38, -41.83)
CIE-LCHlch(26.23, 65.49, 320.30°)
OKLaboklab(38.67% 0.1242 -0.118)
OKLCHoklch(38.67% 0.171 316.5)
XYZxyz(9.5425, 4.8232, 20.5029)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66137F #2C7F13
analogous
#30137F #66137F #7F1362
triadic
#66137F #7F6613 #137F66
tetradic
#66137F #7F3013 #2C7F13 #13627F
square
#66137F #7F3013 #2C7F13 #13627F
split-complementary
#66137F #627F13 #137F30
monochromatic
#15041B #3B0B4A #66137F #911BB4 #B62DE0

Accessibility & contrast

On white

10.69
#66137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#66137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66137F
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66137F#FFFFFF#000000##FFFFFF
##66137F1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#12407D
Tritanopia (blue-blind)
#642E4B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #66137f;
/* rgb */ color: rgb(102, 19, 127);
/* oklch */ color: oklch(38.7% 0.171 316.5);
Tailwind
colors: {
  custom: {
    50: '#965da5',
    500: '#66137f',
    950: '#000000',
  },
}
SCSS
$custom: #66137f;
$custom-light: #965da5;
$custom-dark: #000000;
JSON
{
  "hex": "#66137f",
  "rgb": {
    "r": 102,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 286.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38675,
    "c": 0.17137,
    "h": 316.5
  },
  "luminance": 0.04823
}

Semantic roles & 50–950 ramp

primary
#66137F
secondary
#56B439
accent
#F13762
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #66137F

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

Preview Lab → · Contrast checker → · Palette generator →

#66137F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva