#602D87#602D87

#602D87 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.147 H 307.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#602D87
RGBrgb(96, 45, 135)
HSLhsl(274, 50%, 35%)
HSVhsv(274, 67%, 53%)
CMYKcmyk(28.9%, 66.7%, 0%, 47.1%)
CIE-LABlab(29.70, 40.13, -41.29)
CIE-LCHlch(29.70, 57.58, 314.19°)
OKLaboklab(41.14% 0.0885 -0.1168)
OKLCHoklch(41.14% 0.147 307.2)
XYZxyz(10.1345, 6.1130, 23.5630)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602D87 #54872D
analogous
#332D87 #602D87 #872D81
triadic
#602D87 #87602D #2D8760
tetradic
#602D87 #87332D #54872D #2D8187
square
#602D87 #87332D #54872D #2D8187
split-complementary
#602D87 #81872D #2D8733
monochromatic
#1F0E2B #3F1E59 #602D87 #813CB5 #9E63CB

Accessibility & contrast

On white

9.45
#602D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#602D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602D87
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602D87#FFFFFF#000000##FFFFFF
##602D871.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#1A4685
Tritanopia (blue-blind)
#5A4056
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #602d87;
/* rgb */ color: rgb(96, 45, 135);
/* oklch */ color: oklch(41.1% 0.147 307.2);
Tailwind
colors: {
  custom: {
    50: '#9169aa',
    500: '#602d87',
    950: '#000000',
  },
}
SCSS
$custom: #602d87;
$custom-light: #9169aa;
$custom-dark: #000000;
JSON
{
  "hex": "#602d87",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 274,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41138,
    "c": 0.14658,
    "h": 307.2
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#602D87
secondary
#82B25E
accent
#DA4E8B
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602D87

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

Preview Lab → · Contrast checker → · Palette generator →

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