#66288F#66288F

#66288F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.164 H 308.4°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#66288F
RGBrgb(102, 40, 143)
HSLhsl(276, 56%, 36%)
HSVhsv(276, 72%, 56%)
CMYKcmyk(28.7%, 72%, 0%, 43.9%)
CIE-LABlab(30.22, 45.87, -45.36)
CIE-LCHlch(30.22, 64.51, 315.32°)
OKLaboklab(41.88% 0.1019 -0.1285)
OKLCHoklch(41.88% 0.164 308.4)
XYZxyz(11.1952, 6.3257, 26.6125)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66288F #518F28
analogous
#33288F #66288F #8F2884
triadic
#66288F #8F6628 #288F66
tetradic
#66288F #8F3328 #518F28 #28848F
square
#66288F #8F3328 #518F28 #28848F
split-complementary
#66288F #848F28 #288F33
monochromatic
#220D2F #441B5F #66288F #8835BF #A45FD2

Accessibility & contrast

On white

9.27
#66288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#66288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66288F
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66288F#FFFFFF#000000##FFFFFF
##66288F1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#0E488D
Tritanopia (blue-blind)
#603F59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #66288f;
/* rgb */ color: rgb(102, 40, 143);
/* oklch */ color: oklch(41.9% 0.164 308.4);
Tailwind
colors: {
  custom: {
    50: '#9668b0',
    500: '#66288f',
    950: '#000000',
  },
}
SCSS
$custom: #66288f;
$custom-light: #9668b0;
$custom-dark: #000000;
JSON
{
  "hex": "#66288f",
  "rgb": {
    "r": 102,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 276.117,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41875,
    "c": 0.16402,
    "h": 308.4
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#66288F
secondary
#80B85B
accent
#E04884
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #66288F

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

Preview Lab → · Contrast checker → · Palette generator →

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