#662199#662199

#662199 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.182 H 305.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#662199
RGBrgb(102, 33, 153)
HSLhsl(275, 65%, 36%)
HSVhsv(275, 78%, 60%)
CMYKcmyk(33.3%, 78.4%, 0%, 40%)
CIE-LABlab(29.94, 51.21, -51.95)
CIE-LCHlch(29.94, 72.94, 314.59°)
OKLaboklab(41.92% 0.1068 -0.1479)
OKLCHoklch(41.92% 0.182 305.8)
XYZxyz(11.7718, 6.2125, 30.7098)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662199 #549921
analogous
#2A2199 #662199 #992190
triadic
#662199 #996621 #219966
tetradic
#662199 #992A21 #549921 #219099
square
#662199 #992A21 #549921 #219099
split-complementary
#662199 #909921 #21992A
monochromatic
#230B34 #441667 #662199 #882CCB #A459DB

Accessibility & contrast

On white

9.36
#662199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#662199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662199
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662199#FFFFFF#000000##FFFFFF
##6621991.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#5D405C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #662199;
/* rgb */ color: rgb(102, 33, 153);
/* oklch */ color: oklch(41.9% 0.182 305.8);
Tailwind
colors: {
  custom: {
    50: '#9765b8',
    500: '#662199',
    950: '#000000',
  },
}
SCSS
$custom: #662199;
$custom-light: #9765b8;
$custom-dark: #000000;
JSON
{
  "hex": "#662199",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 274.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41923,
    "c": 0.18242,
    "h": 305.8
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#662199
secondary
#83BF56
accent
#E84087
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #662199

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

Preview Lab → · Contrast checker → · Palette generator →

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