#66237B#66237B

#66237B is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.8% C 0.150 H 317.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#66237B
RGBrgb(102, 35, 123)
HSLhsl(286, 56%, 31%)
HSVhsv(286, 72%, 48%)
CMYKcmyk(17.1%, 71.5%, 0%, 51.8%)
CIE-LABlab(28.00, 43.64, -36.45)
CIE-LCHlch(28.00, 56.86, 320.13°)
OKLaboklab(39.84% 0.1097 -0.1024)
OKLCHoklch(39.84% 0.15 317)
XYZxyz(9.6551, 5.4573, 19.2798)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66237B #387B23
analogous
#3A237B #66237B #7B2364
triadic
#66237B #7B6623 #237B66
tetradic
#66237B #7B3A23 #387B23 #23647B
square
#66237B #7B3A23 #387B23 #23647B
split-complementary
#66237B #647B23 #237B3A
monochromatic
#17081C #3E154B #66237B #8E31AB #AE4CCC

Accessibility & contrast

On white

10.04
#66237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#66237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66237B
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66237B#FFFFFF#000000##FFFFFF
##66237B1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#254479
Tritanopia (blue-blind)
#65344C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #66237b;
/* rgb */ color: rgb(102, 35, 123);
/* oklch */ color: oklch(39.8% 0.150 317.0);
Tailwind
colors: {
  custom: {
    50: '#9564a2',
    500: '#66237b',
    950: '#000000',
  },
}
SCSS
$custom: #66237b;
$custom-light: #9564a2;
$custom-dark: #000000;
JSON
{
  "hex": "#66237b",
  "rgb": {
    "r": 102,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 285.682,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39841,
    "c": 0.15002,
    "h": 317
  },
  "luminance": 0.05457
}

Semantic roles & 50–950 ramp

primary
#66237B
secondary
#63AE4C
accent
#DF496D
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #66237B

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

Preview Lab → · Contrast checker → · Palette generator →

#66237B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva