#602B8A#602B8A

#602B8A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.153 H 306.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#602B8A
RGBrgb(96, 43, 138)
HSLhsl(273, 52%, 35%)
HSVhsv(273, 69%, 54%)
CMYKcmyk(30.4%, 68.8%, 0%, 45.9%)
CIE-LABlab(29.54, 41.90, -43.41)
CIE-LCHlch(29.54, 60.33, 313.99°)
OKLaboklab(41.09% 0.0907 -0.123)
OKLCHoklch(41.09% 0.153 306.4)
XYZxyz(10.2742, 6.0496, 24.6663)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602B8A #558A2B
analogous
#312B8A #602B8A #8A2B84
triadic
#602B8A #8A602B #2B8A60
tetradic
#602B8A #8A312B #558A2B #2B848A
square
#602B8A #8A312B #558A2B #2B848A
split-complementary
#602B8A #848A2B #2B8A31
monochromatic
#1F0E2D #401C5B #602B8A #803AB9 #9E61CE

Accessibility & contrast

On white

9.50
#602B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#602B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602B8A
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602B8A#FFFFFF#000000##FFFFFF
##602B8A1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#114688
Tritanopia (blue-blind)
#594057
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #602b8a;
/* rgb */ color: rgb(96, 43, 138);
/* oklch */ color: oklch(41.1% 0.153 306.4);
Tailwind
colors: {
  custom: {
    50: '#9168ad',
    500: '#602b8a',
    950: '#000000',
  },
}
SCSS
$custom: #602b8a;
$custom-light: #9168ad;
$custom-dark: #000000;
JSON
{
  "hex": "#602b8a",
  "rgb": {
    "r": 96,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 273.474,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41093,
    "c": 0.15283,
    "h": 306.4
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#602B8A
secondary
#83B45D
accent
#DC4C8C
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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