#66286F#66286F

#66286F is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.7% C 0.131 H 322.4°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#66286F
RGBrgb(102, 40, 111)
HSLhsl(292, 47%, 30%)
HSVhsv(292, 64%, 44%)
CMYKcmyk(8.1%, 64%, 0%, 56.5%)
CIE-LABlab(28.09, 38.76, -28.67)
CIE-LCHlch(28.09, 48.21, 323.51°)
OKLaboklab(39.66% 0.1036 -0.0797)
OKLCHoklch(39.66% 0.131 322.4)
XYZxyz(9.1072, 5.4905, 15.6159)
Luminance0.0549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66286F #316F28
analogous
#42286F #66286F #6F2855
triadic
#66286F #6F6628 #286F66
tetradic
#66286F #6F4228 #316F28 #28556F
square
#66286F #6F4228 #316F28 #28556F
split-complementary
#66286F #556F28 #286F42
monochromatic
#150816 #3D1842 #66286F #8F389C #B251C0

Accessibility & contrast

On white

10.01
#66286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#66286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66286F
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66286F#FFFFFF#000000##FFFFFF
##66286F1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E71
Deuteranopia (green-blind)
#31456D
Tritanopia (blue-blind)
#673347
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #66286f;
/* rgb */ color: rgb(102, 40, 111);
/* oklch */ color: oklch(39.7% 0.131 322.4);
Tailwind
colors: {
  custom: {
    50: '#946699',
    500: '#66286f',
    950: '#000000',
  },
}
SCSS
$custom: #66286f;
$custom-light: #946699;
$custom-dark: #000000;
JSON
{
  "hex": "#66286f",
  "rgb": {
    "r": 102,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 292.394,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39661,
    "c": 0.13068,
    "h": 322.4
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#66286F
secondary
#5CA151
accent
#D75162
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #66286F

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

Preview Lab → · Contrast checker → · Palette generator →

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