#602399#602399

#602399 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.179 H 302.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#602399
RGBrgb(96, 35, 153)
HSLhsl(271, 63%, 37%)
HSVhsv(271, 77%, 60%)
CMYKcmyk(37.3%, 77.1%, 0%, 40%)
CIE-LABlab(29.38, 49.31, -52.90)
CIE-LCHlch(29.38, 72.32, 312.99°)
OKLaboklab(41.35% 0.0963 -0.1509)
OKLCHoklch(41.35% 0.179 302.5)
XYZxyz(11.1733, 5.9887, 30.6981)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602399 #5C9923
analogous
#252399 #602399 #992397
triadic
#602399 #996023 #239960
tetradic
#602399 #992523 #5C9923 #239799
square
#602399 #992523 #5C9923 #239799
split-complementary
#602399 #979923 #239925
monochromatic
#210C35 #411867 #602399 #7F2ECB #9D5DDA

Accessibility & contrast

On white

9.56
#602399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#602399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602399
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602399#FFFFFF#000000##FFFFFF
##6023991.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#54415D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602399;
/* rgb */ color: rgb(96, 35, 153);
/* oklch */ color: oklch(41.4% 0.179 302.5);
Tailwind
colors: {
  custom: {
    50: '#9365b8',
    500: '#602399',
    950: '#000000',
  },
}
SCSS
$custom: #602399;
$custom-light: #9365b8;
$custom-dark: #000000;
JSON
{
  "hex": "#602399",
  "rgb": {
    "r": 96,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 271.017,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41352,
    "c": 0.17898,
    "h": 302.5
  },
  "luminance": 0.05989
}

Semantic roles & 50–950 ramp

primary
#602399
secondary
#8ABE59
accent
#E64291
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #602399

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

Preview Lab → · Contrast checker → · Palette generator →

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