#662184#662184

#662184 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.162 H 313.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#662184
RGBrgb(102, 33, 132)
HSLhsl(282, 60%, 32%)
HSVhsv(282, 75%, 52%)
CMYKcmyk(22.7%, 75%, 0%, 48.2%)
CIE-LABlab(28.32, 46.46, -41.59)
CIE-LCHlch(28.32, 62.35, 318.17°)
OKLaboklab(40.27% 0.1109 -0.1174)
OKLCHoklch(40.27% 0.162 313.4)
XYZxyz(10.1875, 5.5788, 22.3655)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662184 #3F8421
analogous
#342184 #662184 #842171
triadic
#662184 #846621 #218466
tetradic
#662184 #843421 #3F8421 #217184
square
#662184 #843421 #3F8421 #217184
split-complementary
#662184 #718421 #218434
monochromatic
#1A0922 #401553 #662184 #8C2DB5 #AA4DD2

Accessibility & contrast

On white

9.93
#662184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#662184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662184
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662184#FFFFFF#000000##FFFFFF
##6621841.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#184482
Tritanopia (blue-blind)
#633751
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #662184;
/* rgb */ color: rgb(102, 33, 132);
/* oklch */ color: oklch(40.3% 0.162 313.4);
Tailwind
colors: {
  custom: {
    50: '#9563a8',
    500: '#662184',
    950: '#000000',
  },
}
SCSS
$custom: #662184;
$custom-light: #9563a8;
$custom-dark: #000000;
JSON
{
  "hex": "#662184",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 281.818,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40272,
    "c": 0.16151,
    "h": 313.4
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#662184
secondary
#6BB64B
accent
#E34575
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #662184

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

Preview Lab → · Contrast checker → · Palette generator →

#662184 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva