#66218F#66218F

#66218F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.172 H 309.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#66218F
RGBrgb(102, 33, 143)
HSLhsl(278, 63%, 35%)
HSVhsv(278, 77%, 56%)
CMYKcmyk(28.7%, 76.9%, 0%, 43.9%)
CIE-LABlab(29.15, 48.91, -47.09)
CIE-LCHlch(29.15, 67.90, 316.09°)
OKLaboklab(41.12% 0.109 -0.1336)
OKLCHoklch(41.12% 0.172 309.2)
XYZxyz(10.9803, 5.8959, 26.5409)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66218F #4A8F21
analogous
#2F218F #66218F #8F2181
triadic
#66218F #8F6621 #218F66
tetradic
#66218F #8F2F21 #4A8F21 #21818F
square
#66218F #8F2F21 #4A8F21 #21818F
split-complementary
#66218F #818F21 #218F2F
monochromatic
#1F0A2C #43165D #66218F #892CC1 #A653D7

Accessibility & contrast

On white

9.64
#66218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#66218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66218F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66218F#FFFFFF#000000##FFFFFF
##66218F1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#603B57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #66218f;
/* rgb */ color: rgb(102, 33, 143);
/* oklch */ color: oklch(41.1% 0.172 309.2);
Tailwind
colors: {
  custom: {
    50: '#9664b1',
    500: '#66218f',
    950: '#000000',
  },
}
SCSS
$custom: #66218f;
$custom-light: #9664b1;
$custom-dark: #000000;
JSON
{
  "hex": "#66218f",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 277.636,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41116,
    "c": 0.17243,
    "h": 309.2
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#66218F
secondary
#78BB51
accent
#E6427F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #66218F

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

Preview Lab → · Contrast checker → · Palette generator →

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