#602987#602987

#602987 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.152 H 307.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#602987
RGBrgb(96, 41, 135)
HSLhsl(275, 53%, 35%)
HSVhsv(275, 70%, 53%)
CMYKcmyk(28.9%, 69.6%, 0%, 47.1%)
CIE-LABlab(28.96, 42.17, -42.48)
CIE-LCHlch(28.96, 59.85, 314.79°)
OKLaboklab(40.61% 0.0933 -0.1203)
OKLCHoklch(40.61% 0.152 307.8)
XYZxyz(9.9891, 5.8221, 23.5145)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602987 #508729
analogous
#312987 #602987 #87297F
triadic
#602987 #876029 #298760
tetradic
#602987 #873129 #508729 #297F87
square
#602987 #873129 #508729 #297F87
split-complementary
#602987 #7F8729 #298731
monochromatic
#1D0C29 #3F1B58 #602987 #8137B6 #9F5DCE

Accessibility & contrast

On white

9.70
#602987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#602987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602987
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602987#FFFFFF#000000##FFFFFF
##6029871.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#144585
Tritanopia (blue-blind)
#5A3D54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #602987;
/* rgb */ color: rgb(96, 41, 135);
/* oklch */ color: oklch(40.6% 0.152 307.8);
Tailwind
colors: {
  custom: {
    50: '#9167ab',
    500: '#602987',
    950: '#000000',
  },
}
SCSS
$custom: #602987;
$custom-light: #9167ab;
$custom-dark: #000000;
JSON
{
  "hex": "#602987",
  "rgb": {
    "r": 96,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 275.106,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40609,
    "c": 0.15226,
    "h": 307.8
  },
  "luminance": 0.05822
}

Semantic roles & 50–950 ramp

primary
#602987
secondary
#7EB359
accent
#DD4B87
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602987

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

Preview Lab → · Contrast checker → · Palette generator →

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