#602786#602786

#602786 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.154 H 308.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#602786
RGBrgb(96, 39, 134)
HSLhsl(276, 55%, 34%)
HSVhsv(276, 71%, 53%)
CMYKcmyk(28.4%, 70.9%, 0%, 47.5%)
CIE-LABlab(28.54, 42.90, -42.54)
CIE-LCHlch(28.54, 60.42, 315.25°)
OKLaboklab(40.28% 0.0958 -0.1205)
OKLCHoklch(40.28% 0.154 308.5)
XYZxyz(9.8516, 5.6592, 23.1230)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602786 #4D8627
analogous
#312786 #602786 #86277D
triadic
#602786 #866027 #278660
tetradic
#602786 #863127 #4D8627 #277D86
square
#602786 #863127 #4D8627 #277D86
split-complementary
#602786 #7D8627 #278631
monochromatic
#1C0B27 #3E1957 #602786 #8235B5 #9F59CF

Accessibility & contrast

On white

9.85
#602786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#602786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602786
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602786#FFFFFF#000000##FFFFFF
##6027861.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#124484
Tritanopia (blue-blind)
#5A3C53
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #602786;
/* rgb */ color: rgb(96, 39, 134);
/* oklch */ color: oklch(40.3% 0.154 308.5);
Tailwind
colors: {
  custom: {
    50: '#9166aa',
    500: '#602786',
    950: '#000000',
  },
}
SCSS
$custom: #602786;
$custom-light: #9166aa;
$custom-dark: #000000;
JSON
{
  "hex": "#602786",
  "rgb": {
    "r": 96,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 276,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40283,
    "c": 0.15388,
    "h": 308.5
  },
  "luminance": 0.05659
}

Semantic roles & 50–950 ramp

primary
#602786
secondary
#7BB455
accent
#DE4A85
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602786

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

Preview Lab → · Contrast checker → · Palette generator →

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