#602496#602496

#602496 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.175 H 303.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#602496
RGBrgb(96, 36, 150)
HSLhsl(272, 61%, 36%)
HSVhsv(272, 76%, 59%)
CMYKcmyk(36%, 76%, 0%, 41.2%)
CIE-LABlab(29.29, 48.15, -51.22)
CIE-LCHlch(29.29, 70.30, 313.23°)
OKLaboklab(41.21% 0.0961 -0.1459)
OKLCHoklch(41.21% 0.175 303.4)
XYZxyz(10.9585, 5.9506, 29.4195)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602496 #5A9624
analogous
#272496 #602496 #962493
triadic
#602496 #966024 #249660
tetradic
#602496 #962724 #5A9624 #249396
square
#602496 #962724 #5A9624 #249396
split-complementary
#602496 #939624 #249627
monochromatic
#210C33 #401865 #602496 #8030C7 #9D5CD8

Accessibility & contrast

On white

9.59
#602496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#602496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602496
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602496#FFFFFF#000000##FFFFFF
##6024961.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#55415B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602496;
/* rgb */ color: rgb(96, 36, 150);
/* oklch */ color: oklch(41.2% 0.175 303.4);
Tailwind
colors: {
  custom: {
    50: '#9265b6',
    500: '#602496',
    950: '#000000',
  },
}
SCSS
$custom: #602496;
$custom-light: #9265b6;
$custom-dark: #000000;
JSON
{
  "hex": "#602496",
  "rgb": {
    "r": 96,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 271.579,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41206,
    "c": 0.17473,
    "h": 303.4
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#602496
secondary
#88BD59
accent
#E44390
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #602496

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

Preview Lab → · Contrast checker → · Palette generator →

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