#602C81#602C81

#602C81 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.141 H 309.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#602C81
RGBrgb(96, 44, 129)
HSLhsl(277, 49%, 34%)
HSVhsv(277, 66%, 51%)
CMYKcmyk(25.6%, 65.9%, 0%, 49.4%)
CIE-LABlab(29.09, 39.19, -38.52)
CIE-LCHlch(29.09, 54.95, 315.50°)
OKLaboklab(40.57% 0.0902 -0.1087)
OKLCHoklch(40.57% 0.141 309.7)
XYZxyz(9.6862, 5.8733, 21.3880)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602C81 #4D812C
analogous
#362C81 #602C81 #812C78
triadic
#602C81 #81602C #2C8160
tetradic
#602C81 #81362C #4D812C #2C7881
square
#602C81 #81362C #4D812C #2C7881
split-complementary
#602C81 #78812C #2C8136
monochromatic
#1C0D26 #3E1C53 #602C81 #823CAF #9F5FC8

Accessibility & contrast

On white

9.66
#602C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#602C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602C81
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602C81#FFFFFF#000000##FFFFFF
##602C811.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004284
Deuteranopia (green-blind)
#20457F
Tritanopia (blue-blind)
#5B3D52
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602c81;
/* rgb */ color: rgb(96, 44, 129);
/* oklch */ color: oklch(40.6% 0.141 309.7);
Tailwind
colors: {
  custom: {
    50: '#9069a6',
    500: '#602c81',
    950: '#000000',
  },
}
SCSS
$custom: #602c81;
$custom-light: #9069a6;
$custom-dark: #000000;
JSON
{
  "hex": "#602c81",
  "rgb": {
    "r": 96,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 276.706,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40569,
    "c": 0.14122,
    "h": 309.7
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#602C81
secondary
#7BAF5A
accent
#D94F85
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #602C81

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

Preview Lab → · Contrast checker → · Palette generator →

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