#602A8D#602A8D

#602A8D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.158 H 305.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#602A8D
RGBrgb(96, 42, 141)
HSLhsl(273, 54%, 36%)
HSVhsv(273, 70%, 55%)
CMYKcmyk(31.9%, 70.2%, 0%, 44.7%)
CIE-LABlab(29.58, 43.14, -45.20)
CIE-LCHlch(29.58, 62.48, 313.66°)
OKLaboklab(41.19% 0.0914 -0.1283)
OKLCHoklch(41.19% 0.158 305.5)
XYZxyz(10.4585, 6.0659, 25.8140)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A8D #578D2A
analogous
#2E2A8D #602A8D #8D2A88
triadic
#602A8D #8D602A #2A8D60
tetradic
#602A8D #8D2E2A #578D2A #2A888D
square
#602A8D #8D2E2A #578D2A #2A888D
split-complementary
#602A8D #888D2A #2A8D2E
monochromatic
#200E2F #401C5E #602A8D #8038BC #9E61D0

Accessibility & contrast

On white

9.49
#602A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602A8D
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A8D#FFFFFF#000000##FFFFFF
##602A8D1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#07468B
Tritanopia (blue-blind)
#584058
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #602a8d;
/* rgb */ color: rgb(96, 42, 141);
/* oklch */ color: oklch(41.2% 0.158 305.5);
Tailwind
colors: {
  custom: {
    50: '#9168af',
    500: '#602a8d',
    950: '#000000',
  },
}
SCSS
$custom: #602a8d;
$custom-light: #9168af;
$custom-dark: #000000;
JSON
{
  "hex": "#602a8d",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 272.727,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41192,
    "c": 0.15756,
    "h": 305.5
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#602A8D
secondary
#85B65D
accent
#DD4A8D
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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