#602196#602196

#602196 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.178 H 303.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#602196
RGBrgb(96, 33, 150)
HSLhsl(272, 64%, 36%)
HSVhsv(272, 78%, 59%)
CMYKcmyk(36%, 78%, 0%, 41.2%)
CIE-LABlab(28.84, 49.43, -51.94)
CIE-LCHlch(28.84, 71.70, 313.58°)
OKLaboklab(40.89% 0.0988 -0.1481)
OKLCHoklch(40.89% 0.178 303.7)
XYZxyz(10.8715, 5.7765, 29.3905)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602196 #579621
analogous
#262196 #602196 #962191
triadic
#602196 #966021 #219660
tetradic
#602196 #962621 #579621 #219196
square
#602196 #962621 #579621 #219196
split-complementary
#602196 #919621 #219626
monochromatic
#200B32 #401664 #602196 #802CC8 #9E57DA

Accessibility & contrast

On white

9.74
#602196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#602196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602196
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602196#FFFFFF#000000##FFFFFF
##6021961.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#553F5B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #602196;
/* rgb */ color: rgb(96, 33, 150);
/* oklch */ color: oklch(40.9% 0.178 303.7);
Tailwind
colors: {
  custom: {
    50: '#9364b6',
    500: '#602196',
    950: '#000000',
  },
}
SCSS
$custom: #602196;
$custom-light: #9364b6;
$custom-dark: #000000;
JSON
{
  "hex": "#602196",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 272.308,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40893,
    "c": 0.17801,
    "h": 303.7
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#602196
secondary
#85BE55
accent
#E7418E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #602196

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

Preview Lab → · Contrast checker → · Palette generator →

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