#602A86#602A86

#602A86 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.150 H 308.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#602A86
RGBrgb(96, 42, 134)
HSLhsl(275, 52%, 35%)
HSVhsv(275, 69%, 53%)
CMYKcmyk(28.4%, 68.7%, 0%, 47.5%)
CIE-LABlab(29.07, 41.43, -41.68)
CIE-LCHlch(29.07, 58.77, 314.82°)
OKLaboklab(40.66% 0.0923 -0.118)
OKLCHoklch(40.66% 0.15 308)
XYZxyz(9.9540, 5.8641, 23.1571)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A86 #50862A
analogous
#322A86 #602A86 #862A7E
triadic
#602A86 #86602A #2A8660
tetradic
#602A86 #86322A #50862A #2A7E86
square
#602A86 #86322A #50862A #2A7E86
split-complementary
#602A86 #7E862A #2A8632
monochromatic
#1D0D29 #3F1B57 #602A86 #8139B5 #9F5ECD

Accessibility & contrast

On white

9.66
#602A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#602A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A86
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A86#FFFFFF#000000##FFFFFF
##602A861.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#174584
Tritanopia (blue-blind)
#5A3E54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #602a86;
/* rgb */ color: rgb(96, 42, 134);
/* oklch */ color: oklch(40.7% 0.150 308.0);
Tailwind
colors: {
  custom: {
    50: '#9168aa',
    500: '#602a86',
    950: '#000000',
  },
}
SCSS
$custom: #602a86;
$custom-light: #9168aa;
$custom-dark: #000000;
JSON
{
  "hex": "#602a86",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 275.217,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40664,
    "c": 0.14975,
    "h": 308
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#602A86
secondary
#7EB25A
accent
#DC4C87
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602A86

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

Preview Lab → · Contrast checker → · Palette generator →

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