#602B87#602B87

#602B87 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.149 H 307.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#602B87
RGBrgb(96, 43, 135)
HSLhsl(275, 52%, 35%)
HSVhsv(275, 68%, 53%)
CMYKcmyk(28.9%, 68.1%, 0%, 47.1%)
CIE-LABlab(29.32, 41.16, -41.89)
CIE-LCHlch(29.32, 58.73, 314.50°)
OKLaboklab(40.87% 0.091 -0.1186)
OKLCHoklch(40.87% 0.149 307.5)
XYZxyz(10.0600, 5.9640, 23.5382)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602B87 #52872B
analogous
#322B87 #602B87 #872B80
triadic
#602B87 #87602B #2B8760
tetradic
#602B87 #87322B #52872B #2B8087
square
#602B87 #87322B #52872B #2B8087
split-complementary
#602B87 #80872B #2B8732
monochromatic
#1E0D2A #3F1C59 #602B87 #813AB5 #9E60CC

Accessibility & contrast

On white

9.58
#602B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#602B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602B87
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602B87#FFFFFF#000000##FFFFFF
##602B871.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#174685
Tritanopia (blue-blind)
#5A3F55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602b87;
/* rgb */ color: rgb(96, 43, 135);
/* oklch */ color: oklch(40.9% 0.149 307.5);
Tailwind
colors: {
  custom: {
    50: '#9168ab',
    500: '#602b87',
    950: '#000000',
  },
}
SCSS
$custom: #602b87;
$custom-light: #9168ab;
$custom-dark: #000000;
JSON
{
  "hex": "#602b87",
  "rgb": {
    "r": 96,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 274.565,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40869,
    "c": 0.14946,
    "h": 307.5
  },
  "luminance": 0.05964
}

Semantic roles & 50–950 ramp

primary
#602B87
secondary
#80B25B
accent
#DB4D89
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602B87

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

Preview Lab → · Contrast checker → · Palette generator →

#602B87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva