#602396#602396

#602396 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.176 H 303.5°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#602396
RGBrgb(96, 35, 150)
HSLhsl(272, 62%, 36%)
HSVhsv(272, 77%, 59%)
CMYKcmyk(36%, 76.7%, 0%, 41.2%)
CIE-LABlab(29.14, 48.58, -51.46)
CIE-LCHlch(29.14, 70.77, 313.35°)
OKLaboklab(41.1% 0.097 -0.1467)
OKLCHoklch(41.1% 0.176 303.5)
XYZxyz(10.9286, 5.8909, 29.4095)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602396 #599623
analogous
#272396 #602396 #962393
triadic
#602396 #966023 #239660
tetradic
#602396 #962723 #599623 #239396
square
#602396 #962723 #599623 #239396
split-complementary
#602396 #939623 #239627
monochromatic
#200C33 #401764 #602396 #802FC8 #9E5BD9

Accessibility & contrast

On white

9.64
#602396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#602396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602396
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602396#FFFFFF#000000##FFFFFF
##6023961.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#55405B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602396;
/* rgb */ color: rgb(96, 35, 150);
/* oklch */ color: oklch(41.1% 0.176 303.5);
Tailwind
colors: {
  custom: {
    50: '#9265b6',
    500: '#602396',
    950: '#000000',
  },
}
SCSS
$custom: #602396;
$custom-light: #9265b6;
$custom-dark: #000000;
JSON
{
  "hex": "#602396",
  "rgb": {
    "r": 96,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 271.826,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41099,
    "c": 0.17584,
    "h": 303.5
  },
  "luminance": 0.05891
}

Semantic roles & 50–950 ramp

primary
#602396
secondary
#87BD58
accent
#E5438F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #602396

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

Preview Lab → · Contrast checker → · Palette generator →

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