#602A96#602A96

#602A96 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.168 H 302.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#602A96
RGBrgb(96, 42, 150)
HSLhsl(270, 56%, 38%)
HSVhsv(270, 72%, 59%)
CMYKcmyk(36%, 72%, 0%, 41.2%)
CIE-LABlab(30.27, 45.38, -49.62)
CIE-LCHlch(30.27, 67.25, 312.44°)
OKLaboklab(41.9% 0.0901 -0.1413)
OKLCHoklch(41.9% 0.168 302.5)
XYZxyz(11.1556, 6.3447, 29.4852)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A96 #60962A
analogous
#2A2A96 #602A96 #962A96
triadic
#602A96 #96602A #2A9660
tetradic
#602A96 #962A2A #60962A #2A9696
square
#602A96 #962A2A #60962A #2A9696
split-complementary
#602A96 #96962A #2A962A
monochromatic
#230F36 #411D66 #602A96 #7F37C6 #9D66D4

Accessibility & contrast

On white

9.26
#602A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#602A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A96
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A96#FFFFFF#000000##FFFFFF
##602A961.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#55445D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #602a96;
/* rgb */ color: rgb(96, 42, 150);
/* oklch */ color: oklch(41.9% 0.168 302.5);
Tailwind
colors: {
  custom: {
    50: '#9268b6',
    500: '#602a96',
    950: '#000000',
  },
}
SCSS
$custom: #602a96;
$custom-light: #9268b6;
$custom-dark: #000000;
JSON
{
  "hex": "#602a96",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 270,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41899,
    "c": 0.16756,
    "h": 302.5
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#602A96
secondary
#8EBA61
accent
#E04894
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602A96

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

Preview Lab → · Contrast checker → · Palette generator →

#602A96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva