#602E9B#602E9B

#602E9B is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.168 H 300.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#602E9B
RGBrgb(96, 46, 155)
HSLhsl(268, 54%, 39%)
HSVhsv(268, 70%, 61%)
CMYKcmyk(38.1%, 70.3%, 0%, 39.2%)
CIE-LABlab(31.36, 44.68, -50.89)
CIE-LCHlch(31.36, 67.73, 311.28°)
OKLaboklab(42.8% 0.085 -0.1451)
OKLCHoklch(42.8% 0.168 300.4)
XYZxyz(11.7158, 6.8072, 31.7007)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602E9B #699B2E
analogous
#2E339B #602E9B #972E9B
triadic
#602E9B #9B602E #2E9B60
tetradic
#602E9B #9B2E33 #699B2E #2E9B97
square
#602E9B #9B2E33 #699B2E #2E9B97
split-complementary
#602E9B #9B972E #339B2E
monochromatic
#26123D #43206C #602E9B #7E40C6 #9E6FD4

Accessibility & contrast

On white

8.89
#602E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#602E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602E9B
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602E9B#FFFFFF#000000##FFFFFF
##602E9B1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#534861
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #602e9b;
/* rgb */ color: rgb(96, 46, 155);
/* oklch */ color: oklch(42.8% 0.168 300.4);
Tailwind
colors: {
  custom: {
    50: '#926bb9',
    500: '#602e9b',
    950: '#000000',
  },
}
SCSS
$custom: #602e9b;
$custom-light: #926bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#602e9b",
  "rgb": {
    "r": 96,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 267.523,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42804,
    "c": 0.16812,
    "h": 300.4
  },
  "luminance": 0.06807
}

Semantic roles & 50–950 ramp

primary
#602E9B
secondary
#96BC69
accent
#DE4A9A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #602E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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