#602A9A#602A9A

#602A9A is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.172 H 301.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#602A9A
RGBrgb(96, 42, 154)
HSLhsl(269, 57%, 38%)
HSVhsv(269, 73%, 60%)
CMYKcmyk(37.7%, 72.7%, 0%, 39.6%)
CIE-LABlab(30.58, 46.39, -51.55)
CIE-LCHlch(30.58, 69.36, 311.98°)
OKLaboklab(42.22% 0.0893 -0.147)
OKLCHoklch(42.22% 0.172 301.3)
XYZxyz(11.4832, 6.4758, 31.2106)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A9A #649A2A
analogous
#2A2C9A #602A9A #982A9A
triadic
#602A9A #9A602A #2A9A60
tetradic
#602A9A #9A2A2C #649A2A #2A9A98
square
#602A9A #9A2A2C #649A2A #2A9A98
split-complementary
#602A9A #9A982A #2C9A2A
monochromatic
#24103A #421D6A #602A9A #7E38C9 #9D68D6

Accessibility & contrast

On white

9.15
#602A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#602A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A9A
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A9A#FFFFFF#000000##FFFFFF
##602A9A1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#53455F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #602a9a;
/* rgb */ color: rgb(96, 42, 154);
/* oklch */ color: oklch(42.2% 0.172 301.3);
Tailwind
colors: {
  custom: {
    50: '#9268b9',
    500: '#602a9a',
    950: '#000000',
  },
}
SCSS
$custom: #602a9a;
$custom-light: #9268b9;
$custom-dark: #000000;
JSON
{
  "hex": "#602a9a",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 268.929,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42223,
    "c": 0.172,
    "h": 301.3
  },
  "luminance": 0.06476
}

Semantic roles & 50–950 ramp

primary
#602A9A
secondary
#91BC63
accent
#E04797
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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