#662194#662194

#662194 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.177 H 307.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#662194
RGBrgb(102, 33, 148)
HSLhsl(276, 64%, 35%)
HSVhsv(276, 78%, 58%)
CMYKcmyk(31.1%, 77.7%, 0%, 42%)
CIE-LABlab(29.54, 50.05, -49.54)
CIE-LCHlch(29.54, 70.42, 315.30°)
OKLaboklab(41.52% 0.108 -0.1408)
OKLCHoklch(41.52% 0.177 307.5)
XYZxyz(11.3675, 6.0508, 28.5803)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662194 #4F9421
analogous
#2C2194 #662194 #942188
triadic
#662194 #946621 #219466
tetradic
#662194 #942C21 #4F9421 #218894
square
#662194 #942C21 #4F9421 #218894
split-complementary
#662194 #889421 #21942C
monochromatic
#210B30 #441662 #662194 #882CC6 #A556D9

Accessibility & contrast

On white

9.50
#662194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#662194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662194
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662194#FFFFFF#000000##FFFFFF
##6621941.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#5E3E5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #662194;
/* rgb */ color: rgb(102, 33, 148);
/* oklch */ color: oklch(41.5% 0.177 307.5);
Tailwind
colors: {
  custom: {
    50: '#9664b4',
    500: '#662194',
    950: '#000000',
  },
}
SCSS
$custom: #662194;
$custom-light: #9664b4;
$custom-dark: #000000;
JSON
{
  "hex": "#662194",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 276,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41515,
    "c": 0.17742,
    "h": 307.5
  },
  "luminance": 0.06051
}

Semantic roles & 50–950 ramp

primary
#662194
secondary
#7EBD54
accent
#E74183
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #662194

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

Preview Lab → · Contrast checker → · Palette generator →

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