#66288C#66288C

#66288C is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.161 H 309.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#66288C
RGBrgb(102, 40, 140)
HSLhsl(277, 56%, 35%)
HSVhsv(277, 71%, 55%)
CMYKcmyk(27.1%, 71.4%, 0%, 45.1%)
CIE-LABlab(30.00, 45.17, -43.86)
CIE-LCHlch(30.00, 62.96, 315.84°)
OKLaboklab(41.65% 0.1023 -0.1241)
OKLCHoklch(41.65% 0.161 309.5)
XYZxyz(10.9710, 6.2360, 25.4316)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66288C #4E8C28
analogous
#34288C #66288C #8C2880
triadic
#66288C #8C6628 #288C66
tetradic
#66288C #8C3428 #4E8C28 #28808C
square
#66288C #8C3428 #4E8C28 #28808C
split-complementary
#66288C #808C28 #288C34
monochromatic
#210D2D #431A5C #66288C #8936BC #A55ED1

Accessibility & contrast

On white

9.34
#66288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#66288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66288C
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66288C#FFFFFF#000000##FFFFFF
##66288C1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#15488A
Tritanopia (blue-blind)
#613E57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #66288c;
/* rgb */ color: rgb(102, 40, 140);
/* oklch */ color: oklch(41.6% 0.161 309.5);
Tailwind
colors: {
  custom: {
    50: '#9567ae',
    500: '#66288c',
    950: '#000000',
  },
}
SCSS
$custom: #66288c;
$custom-light: #9567ae;
$custom-dark: #000000;
JSON
{
  "hex": "#66288c",
  "rgb": {
    "r": 102,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 277.2,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41649,
    "c": 0.16085,
    "h": 309.5
  },
  "luminance": 0.06236
}

Semantic roles & 50–950 ramp

primary
#66288C
secondary
#7DB65A
accent
#DF4982
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #66288C

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

Preview Lab → · Contrast checker → · Palette generator →

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