#66219B#66219B

#66219B is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.184 H 305.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#66219B
RGBrgb(102, 33, 155)
HSLhsl(274, 65%, 37%)
HSVhsv(274, 79%, 61%)
CMYKcmyk(34.2%, 78.7%, 0%, 39.2%)
CIE-LABlab(30.11, 51.67, -52.90)
CIE-LCHlch(30.11, 73.95, 314.32°)
OKLaboklab(42.09% 0.1063 -0.1507)
OKLCHoklch(42.09% 0.184 305.2)
XYZxyz(11.9384, 6.2791, 31.5870)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#66219B #569B21
analogous
#29219B #66219B #9B2193
triadic
#66219B #9B6621 #219B66
tetradic
#66219B #9B2921 #569B21 #21939B
square
#66219B #9B2921 #569B21 #21939B
split-complementary
#66219B #939B21 #219B29
monochromatic
#240C36 #451669 #66219B #872CCD #A45ADC

Accessibility & contrast

On white

9.31
#66219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #66219B
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##66219B#FFFFFF#000000##FFFFFF
##66219B1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#5C415E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #66219b;
/* rgb */ color: rgb(102, 33, 155);
/* oklch */ color: oklch(42.1% 0.184 305.2);
Tailwind
colors: {
  custom: {
    50: '#9765b9',
    500: '#66219b',
    950: '#000000',
  },
}
SCSS
$custom: #66219b;
$custom-light: #9765b9;
$custom-dark: #000000;
JSON
{
  "hex": "#66219b",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 273.934,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42089,
    "c": 0.18441,
    "h": 305.2
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#66219B
secondary
#85C058
accent
#E84089
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #66219B

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

Preview Lab → · Contrast checker → · Palette generator →

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