#662089#662089

#662089 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.168 H 311.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#662089
RGBrgb(102, 32, 137)
HSLhsl(280, 62%, 33%)
HSVhsv(280, 77%, 54%)
CMYKcmyk(25.5%, 76.6%, 0%, 46.3%)
CIE-LABlab(28.55, 47.97, -44.34)
CIE-LCHlch(28.55, 65.33, 317.25°)
OKLaboklab(40.55% 0.1111 -0.1255)
OKLCHoklch(40.55% 0.168 311.5)
XYZxyz(10.5105, 5.6642, 24.2017)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662089 #438920
analogous
#312089 #662089 #892077
triadic
#662089 #896620 #208966
tetradic
#662089 #893120 #438920 #207789
square
#662089 #893120 #438920 #207789
split-complementary
#662089 #778920 #208931
monochromatic
#1C0926 #411457 #662089 #8B2CBB #A84ED6

Accessibility & contrast

On white

9.85
#662089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#662089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662089
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662089#FFFFFF#000000##FFFFFF
##6620891.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#0E4587
Tritanopia (blue-blind)
#623853
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #662089;
/* rgb */ color: rgb(102, 32, 137);
/* oklch */ color: oklch(40.5% 0.168 311.5);
Tailwind
colors: {
  custom: {
    50: '#9663ac',
    500: '#662089',
    950: '#000000',
  },
}
SCSS
$custom: #662089;
$custom-light: #9663ac;
$custom-dark: #000000;
JSON
{
  "hex": "#662089",
  "rgb": {
    "r": 102,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 280,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40549,
    "c": 0.16762,
    "h": 311.5
  },
  "luminance": 0.05664
}

Semantic roles & 50–950 ramp

primary
#662089
secondary
#70B94C
accent
#E54379
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #662089

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

Preview Lab → · Contrast checker → · Palette generator →

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