#602BAB#602BAB

#602BAB is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.190 H 296.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#602BAB
RGBrgb(96, 43, 171)
HSLhsl(265, 60%, 42%)
HSVhsv(265, 75%, 67%)
CMYKcmyk(43.9%, 74.9%, 0%, 32.9%)
CIE-LABlab(32.16, 50.29, -59.27)
CIE-LCHlch(32.16, 77.73, 310.31°)
OKLaboklab(43.77% 0.0847 -0.1696)
OKLCHoklch(43.77% 0.19 296.5)
XYZxyz(13.0365, 7.1545, 39.2143)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602BAB #76AB2B
analogous
#2B36AB #602BAB #A02BAB
triadic
#602BAB #AB602B #2BAB60
tetradic
#602BAB #AB2B36 #76AB2B #2BABA0
square
#602BAB #AB2B36 #76AB2B #2BABA0
split-complementary
#602BAB #ABA02B #36AB2B
monochromatic
#291249 #451F7A #602BAB #7E43D0 #9F74DC

Accessibility & contrast

On white

8.64
#602BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#602BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602BAB
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602BAB#FFFFFF#000000##FFFFFF
##602BAB1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#4C4D69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #602bab;
/* rgb */ color: rgb(96, 43, 171);
/* oklch */ color: oklch(43.8% 0.190 296.5);
Tailwind
colors: {
  custom: {
    50: '#946ac5',
    500: '#602bab',
    950: '#000000',
  },
}
SCSS
$custom: #602bab;
$custom-light: #946ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#602bab",
  "rgb": {
    "r": 96,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 264.844,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43773,
    "c": 0.1896,
    "h": 296.5
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#602BAB
secondary
#A0C46E
accent
#E345A1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #602BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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