#602A9D#602A9D

#602A9D is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.175 H 300.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#602A9D
RGBrgb(96, 42, 157)
HSLhsl(268, 58%, 39%)
HSVhsv(268, 73%, 62%)
CMYKcmyk(38.9%, 73.2%, 0%, 38.4%)
CIE-LABlab(30.82, 47.15, -52.99)
CIE-LCHlch(30.82, 70.93, 311.67°)
OKLaboklab(42.47% 0.0887 -0.1512)
OKLCHoklch(42.47% 0.175 300.4)
XYZxyz(11.7361, 6.5769, 32.5429)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A9D #679D2A
analogous
#2A2E9D #602A9D #9A2A9D
triadic
#602A9D #9D602A #2A9D60
tetradic
#602A9D #9D2A2E #679D2A #2A9D9A
square
#602A9D #9D2A2E #679D2A #2A9D9A
split-complementary
#602A9D #9D9A2A #2E9D2A
monochromatic
#25103C #421D6D #602A9D #7E3ACA #9D6AD7

Accessibility & contrast

On white

9.07
#602A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#602A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A9D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A9D#FFFFFF#000000##FFFFFF
##602A9D1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#524761
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #602a9d;
/* rgb */ color: rgb(96, 42, 157);
/* oklch */ color: oklch(42.5% 0.175 300.4);
Tailwind
colors: {
  custom: {
    50: '#9369bb',
    500: '#602a9d',
    950: '#000000',
  },
}
SCSS
$custom: #602a9d;
$custom-light: #9369bb;
$custom-dark: #000000;
JSON
{
  "hex": "#602a9d",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 268.174,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4247,
    "c": 0.17531,
    "h": 300.4
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#602A9D
secondary
#94BE65
accent
#E14799
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #602A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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