#602887#602887

#602887 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.154 H 308.0°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#602887
RGBrgb(96, 40, 135)
HSLhsl(275, 54%, 34%)
HSVhsv(275, 70%, 53%)
CMYKcmyk(28.9%, 70.4%, 0%, 47.1%)
CIE-LABlab(28.78, 42.66, -42.76)
CIE-LCHlch(28.78, 60.40, 314.93°)
OKLaboklab(40.48% 0.0945 -0.1211)
OKLCHoklch(40.48% 0.154 308)
XYZxyz(9.9549, 5.7538, 23.5031)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602887 #4F8728
analogous
#302887 #602887 #87287F
triadic
#602887 #876028 #288760
tetradic
#602887 #873028 #4F8728 #287F87
square
#602887 #873028 #4F8728 #287F87
split-complementary
#602887 #7F8728 #288730
monochromatic
#1D0C29 #3E1A58 #602887 #8236B6 #9F5BCE

Accessibility & contrast

On white

9.76
#602887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#602887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602887
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602887#FFFFFF#000000##FFFFFF
##6028871.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #602887;
/* rgb */ color: rgb(96, 40, 135);
/* oklch */ color: oklch(40.5% 0.154 308.0);
Tailwind
colors: {
  custom: {
    50: '#9167ab',
    500: '#602887',
    950: '#000000',
  },
}
SCSS
$custom: #602887;
$custom-light: #9167ab;
$custom-dark: #000000;
JSON
{
  "hex": "#602887",
  "rgb": {
    "r": 96,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 275.368,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.15363,
    "h": 308
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#602887
secondary
#7DB457
accent
#DE4A87
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602887

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

Preview Lab → · Contrast checker → · Palette generator →

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