#602187#602187

#602187 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.163 H 308.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#602187
RGBrgb(96, 33, 135)
HSLhsl(277, 61%, 33%)
HSVhsv(277, 76%, 53%)
CMYKcmyk(28.9%, 75.6%, 0%, 47.1%)
CIE-LABlab(27.64, 45.88, -44.61)
CIE-LCHlch(27.64, 64.00, 315.80°)
OKLaboklab(39.67% 0.1021 -0.1265)
OKLCHoklch(39.67% 0.163 308.9)
XYZxyz(9.7400, 5.3240, 23.4315)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602187 #488721
analogous
#2D2187 #602187 #87217B
triadic
#602187 #876021 #218760
tetradic
#602187 #872D21 #488721 #217B87
square
#602187 #872D21 #488721 #217B87
split-complementary
#602187 #7B8721 #21872D
monochromatic
#1A0925 #3D1556 #602187 #832DB8 #A14FD4

Accessibility & contrast

On white

10.17
#602187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#602187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602187
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602187#FFFFFF#000000##FFFFFF
##6021871.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#034285
Tritanopia (blue-blind)
#5A3952
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #602187;
/* rgb */ color: rgb(96, 33, 135);
/* oklch */ color: oklch(39.7% 0.163 308.9);
Tailwind
colors: {
  custom: {
    50: '#9163ab',
    500: '#602187',
    950: '#000000',
  },
}
SCSS
$custom: #602187;
$custom-light: #9163ab;
$custom-dark: #000000;
JSON
{
  "hex": "#602187",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 277.059,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39669,
    "c": 0.16256,
    "h": 308.9
  },
  "luminance": 0.05324
}

Semantic roles & 50–950 ramp

primary
#602187
secondary
#75B74D
accent
#E44481
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602187

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

Preview Lab → · Contrast checker → · Palette generator →

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