#602787#602787

#602787 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.155 H 308.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#602787
RGBrgb(96, 39, 135)
HSLhsl(276, 55%, 34%)
HSVhsv(276, 71%, 53%)
CMYKcmyk(28.9%, 71.1%, 0%, 47.1%)
CIE-LABlab(28.61, 43.14, -43.04)
CIE-LCHlch(28.61, 60.94, 315.07°)
OKLaboklab(40.36% 0.0956 -0.1219)
OKLCHoklch(40.36% 0.155 308.1)
XYZxyz(9.9217, 5.6873, 23.4920)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602787 #4E8727
analogous
#302787 #602787 #87277E
triadic
#602787 #876027 #278760
tetradic
#602787 #873027 #4E8727 #277E87
square
#602787 #873027 #4E8727 #277E87
split-complementary
#602787 #7E8727 #278730
monochromatic
#1C0C28 #3E1958 #602787 #8235B6 #9F59CF

Accessibility & contrast

On white

9.83
#602787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#602787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602787
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602787#FFFFFF#000000##FFFFFF
##6027871.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#104485
Tritanopia (blue-blind)
#5A3C54
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #602787;
/* rgb */ color: rgb(96, 39, 135);
/* oklch */ color: oklch(40.4% 0.155 308.1);
Tailwind
colors: {
  custom: {
    50: '#9166ab',
    500: '#602787',
    950: '#000000',
  },
}
SCSS
$custom: #602787;
$custom-light: #9166ab;
$custom-dark: #000000;
JSON
{
  "hex": "#602787",
  "rgb": {
    "r": 96,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 275.625,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40359,
    "c": 0.15497,
    "h": 308.1
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#602787
secondary
#7CB456
accent
#DF4986
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602787

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

Preview Lab → · Contrast checker → · Palette generator →

#602787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva