#66219C#66219C

#66219C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.185 H 304.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#66219C
RGBrgb(102, 33, 156)
HSLhsl(274, 65%, 37%)
HSVhsv(274, 79%, 61%)
CMYKcmyk(34.6%, 78.8%, 0%, 38.8%)
CIE-LABlab(30.19, 51.90, -53.38)
CIE-LCHlch(30.19, 74.45, 314.20°)
OKLaboklab(42.17% 0.1061 -0.1521)
OKLCHoklch(42.17% 0.185 304.9)
XYZxyz(12.0227, 6.3129, 32.0312)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66219C #579C21
analogous
#29219C #66219C #9C2194
triadic
#66219C #9C6621 #219C66
tetradic
#66219C #9C2921 #579C21 #21949C
square
#66219C #9C2921 #579C21 #21949C
split-complementary
#66219C #949C21 #219C29
monochromatic
#240C37 #451669 #66219C #872CCF #A45BDC

Accessibility & contrast

On white

9.28
#66219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#66219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #66219C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66219C#FFFFFF#000000##FFFFFF
##66219C1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#5C415E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #66219c;
/* rgb */ color: rgb(102, 33, 156);
/* oklch */ color: oklch(42.2% 0.185 304.9);
Tailwind
colors: {
  custom: {
    50: '#9765ba',
    500: '#66219c',
    950: '#000000',
  },
}
SCSS
$custom: #66219c;
$custom-light: #9765ba;
$custom-dark: #000000;
JSON
{
  "hex": "#66219c",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 273.659,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42172,
    "c": 0.18541,
    "h": 304.9
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#66219C
secondary
#86C158
accent
#E8408A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #66219C

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

Preview Lab → · Contrast checker → · Palette generator →

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