#602D8A#602D8A

#602D8A is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.150 H 306.0°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#602D8A
RGBrgb(96, 45, 138)
HSLhsl(273, 51%, 36%)
HSVhsv(273, 67%, 54%)
CMYKcmyk(30.4%, 67.4%, 0%, 45.9%)
CIE-LABlab(29.91, 40.88, -42.81)
CIE-LCHlch(29.91, 59.19, 313.68°)
OKLaboklab(41.36% 0.0883 -0.1213)
OKLCHoklch(41.36% 0.15 306)
XYZxyz(10.3487, 6.1986, 24.6911)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602D8A #578A2D
analogous
#312D8A #602D8A #8A2D85
triadic
#602D8A #8A602D #2D8A60
tetradic
#602D8A #8A312D #578A2D #2D858A
square
#602D8A #8A312D #578A2D #2D858A
split-complementary
#602D8A #858A2D #2D8A31
monochromatic
#200F2E #401E5C #602D8A #803CB8 #9E65CD

Accessibility & contrast

On white

9.38
#602D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#602D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602D8A
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602D8A#FFFFFF#000000##FFFFFF
##602D8A1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#154788
Tritanopia (blue-blind)
#594157
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #602d8a;
/* rgb */ color: rgb(96, 45, 138);
/* oklch */ color: oklch(41.4% 0.150 306.0);
Tailwind
colors: {
  custom: {
    50: '#916aad',
    500: '#602d8a',
    950: '#000000',
  },
}
SCSS
$custom: #602d8a;
$custom-light: #916aad;
$custom-dark: #000000;
JSON
{
  "hex": "#602d8a",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 272.903,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41359,
    "c": 0.15002,
    "h": 306
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#602D8A
secondary
#85B360
accent
#DA4D8D
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #602D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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