#66288E#66288E

#66288E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.163 H 308.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#66288E
RGBrgb(102, 40, 142)
HSLhsl(276, 56%, 36%)
HSVhsv(276, 72%, 56%)
CMYKcmyk(28.2%, 71.8%, 0%, 44.3%)
CIE-LABlab(30.15, 45.64, -44.86)
CIE-LCHlch(30.15, 63.99, 315.49°)
OKLaboklab(41.8% 0.102 -0.1271)
OKLCHoklch(41.8% 0.163 308.8)
XYZxyz(11.1198, 6.2955, 26.2153)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66288E #508E28
analogous
#33288E #66288E #8E2883
triadic
#66288E #8E6628 #288E66
tetradic
#66288E #8E3328 #508E28 #28838E
square
#66288E #8E3328 #508E28 #28838E
split-complementary
#66288E #838E28 #288E33
monochromatic
#210D2F #441B5E #66288E #8835BE #A55FD2

Accessibility & contrast

On white

9.30
#66288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#66288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66288E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66288E#FFFFFF#000000##FFFFFF
##66288E1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#11488C
Tritanopia (blue-blind)
#603F58
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #66288e;
/* rgb */ color: rgb(102, 40, 142);
/* oklch */ color: oklch(41.8% 0.163 308.8);
Tailwind
colors: {
  custom: {
    50: '#9667b0',
    500: '#66288e',
    950: '#000000',
  },
}
SCSS
$custom: #66288e;
$custom-light: #9667b0;
$custom-dark: #000000;
JSON
{
  "hex": "#66288e",
  "rgb": {
    "r": 102,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 276.471,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.418,
    "c": 0.16296,
    "h": 308.8
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#66288E
secondary
#7FB75B
accent
#DF4884
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #66288E

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

Preview Lab → · Contrast checker → · Palette generator →

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