#66287D#66287D

#66287D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.6% C 0.145 H 315.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#66287D
RGBrgb(102, 40, 125)
HSLhsl(284, 52%, 32%)
HSVhsv(284, 68%, 49%)
CMYKcmyk(18.4%, 68%, 0%, 51%)
CIE-LABlab(28.96, 41.76, -36.16)
CIE-LCHlch(28.96, 55.24, 319.11°)
OKLaboklab(40.58% 0.1036 -0.1016)
OKLCHoklch(40.58% 0.145 315.6)
XYZxyz(9.9394, 5.8234, 19.9985)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66287D #3F7D28
analogous
#3C287D #66287D #7D2869
triadic
#66287D #7D6628 #287D66
tetradic
#66287D #7D3C28 #3F7D28 #28697D
square
#66287D #7D3C28 #3F7D28 #28697D
split-complementary
#66287D #697D28 #287D3C
monochromatic
#1A0A20 #40194F #66287D #8C37AB #AA56C9

Accessibility & contrast

On white

9.70
#66287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#66287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66287D
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66287D#FFFFFF#000000##FFFFFF
##66287D1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024180
Deuteranopia (green-blind)
#27467B
Tritanopia (blue-blind)
#64384F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #66287d;
/* rgb */ color: rgb(102, 40, 125);
/* oklch */ color: oklch(40.6% 0.145 315.6);
Tailwind
colors: {
  custom: {
    50: '#9467a3',
    500: '#66287d',
    950: '#000000',
  },
}
SCSS
$custom: #66287d;
$custom-light: #9467a3;
$custom-dark: #000000;
JSON
{
  "hex": "#66287d",
  "rgb": {
    "r": 102,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 283.765,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40575,
    "c": 0.14508,
    "h": 315.6
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#66287D
secondary
#6BAE53
accent
#DB4D73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #66287D

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

Preview Lab → · Contrast checker → · Palette generator →

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