#602D8E#602D8E

#602D8E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.155 H 304.6°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#602D8E
RGBrgb(96, 45, 142)
HSLhsl(272, 52%, 37%)
HSVhsv(272, 68%, 56%)
CMYKcmyk(32.4%, 68.3%, 0%, 44.3%)
CIE-LABlab(30.20, 41.87, -44.82)
CIE-LCHlch(30.20, 61.33, 313.06°)
OKLaboklab(41.66% 0.0879 -0.1272)
OKLCHoklch(41.66% 0.155 304.6)
XYZxyz(10.6436, 6.3166, 26.2444)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602D8E #5B8E2D
analogous
#2F2D8E #602D8E #8E2D8C
triadic
#602D8E #8E602D #2D8E60
tetradic
#602D8E #8E2F2D #5B8E2D #2D8C8E
square
#602D8E #8E2F2D #5B8E2D #2D8C8E
split-complementary
#602D8E #8C8E2D #2D8E2F
monochromatic
#211031 #411E60 #602D8E #7F3CBC #9D67CF

Accessibility & contrast

On white

9.28
#602D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#602D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602D8E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602D8E#FFFFFF#000000##FFFFFF
##602D8E1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#0D478C
Tritanopia (blue-blind)
#584259
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #602d8e;
/* rgb */ color: rgb(96, 45, 142);
/* oklch */ color: oklch(41.7% 0.155 304.6);
Tailwind
colors: {
  custom: {
    50: '#916ab0',
    500: '#602d8e',
    950: '#000000',
  },
}
SCSS
$custom: #602d8e;
$custom-light: #916ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#602d8e",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 271.546,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41659,
    "c": 0.15459,
    "h": 304.6
  },
  "luminance": 0.06317
}

Semantic roles & 50–950 ramp

primary
#602D8E
secondary
#89B561
accent
#DB4C90
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #602D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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