#602785#602785

#602785 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.153 H 308.9°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#602785
RGBrgb(96, 39, 133)
HSLhsl(276, 55%, 34%)
HSVhsv(276, 71%, 52%)
CMYKcmyk(27.8%, 70.7%, 0%, 47.8%)
CIE-LABlab(28.46, 42.67, -42.03)
CIE-LCHlch(28.46, 59.89, 315.43°)
OKLaboklab(40.21% 0.0959 -0.119)
OKLCHoklch(40.21% 0.153 308.9)
XYZxyz(9.7822, 5.6315, 22.7574)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602785 #4C8527
analogous
#312785 #602785 #85277B
triadic
#602785 #856027 #278560
tetradic
#602785 #853127 #4C8527 #277B85
square
#602785 #853127 #4C8527 #277B85
split-complementary
#602785 #7B8527 #278531
monochromatic
#1C0B26 #3E1956 #602785 #8235B4 #A058CE

Accessibility & contrast

On white

9.88
#602785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602785
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602785#FFFFFF#000000##FFFFFF
##6027851.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#144483
Tritanopia (blue-blind)
#5A3B53
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #602785;
/* rgb */ color: rgb(96, 39, 133);
/* oklch */ color: oklch(40.2% 0.153 308.9);
Tailwind
colors: {
  custom: {
    50: '#9166a9',
    500: '#602785',
    950: '#000000',
  },
}
SCSS
$custom: #602785;
$custom-light: #9166a9;
$custom-dark: #000000;
JSON
{
  "hex": "#602785",
  "rgb": {
    "r": 96,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 276.383,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40208,
    "c": 0.1528,
    "h": 308.9
  },
  "luminance": 0.05631
}

Semantic roles & 50–950 ramp

primary
#602785
secondary
#7AB355
accent
#DE4A84
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602785

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

Preview Lab → · Contrast checker → · Palette generator →

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