#66219F#66219F

#66219F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.188 H 304.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#66219F
RGBrgb(102, 33, 159)
HSLhsl(273, 66%, 38%)
HSVhsv(273, 79%, 62%)
CMYKcmyk(35.8%, 79.2%, 0%, 37.6%)
CIE-LABlab(30.44, 52.60, -54.80)
CIE-LCHlch(30.44, 75.96, 313.83°)
OKLaboklab(42.42% 0.1053 -0.1562)
OKLCHoklch(42.42% 0.188 304)
XYZxyz(12.2799, 6.4157, 33.3856)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66219F #5A9F21
analogous
#27219F #66219F #9F2199
triadic
#66219F #9F6621 #219F66
tetradic
#66219F #9F2721 #5A9F21 #21999F
square
#66219F #9F2721 #5A9F21 #21999F
split-complementary
#66219F #999F21 #219F27
monochromatic
#250C3A #45166C #66219F #872CD2 #A35DDD

Accessibility & contrast

On white

9.20
#66219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#66219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66219F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66219F#FFFFFF#000000##FFFFFF
##66219F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#5B4260
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #66219f;
/* rgb */ color: rgb(102, 33, 159);
/* oklch */ color: oklch(42.4% 0.188 304.0);
Tailwind
colors: {
  custom: {
    50: '#9765bc',
    500: '#66219f',
    950: '#000000',
  },
}
SCSS
$custom: #66219f;
$custom-light: #9765bc;
$custom-dark: #000000;
JSON
{
  "hex": "#66219f",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 272.857,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42424,
    "c": 0.18841,
    "h": 304
  },
  "luminance": 0.06416
}

Semantic roles & 50–950 ramp

primary
#66219F
secondary
#89C25A
accent
#E93F8C
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #66219F

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

Preview Lab → · Contrast checker → · Palette generator →

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