#602D9E#602D9E

#602D9E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.173 H 299.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#602D9E
RGBrgb(96, 45, 158)
HSLhsl(267, 56%, 40%)
HSVhsv(267, 72%, 62%)
CMYKcmyk(39.2%, 71.5%, 0%, 38%)
CIE-LABlab(31.42, 45.96, -52.62)
CIE-LCHlch(31.42, 69.87, 311.13°)
OKLaboklab(42.92% 0.0855 -0.1501)
OKLCHoklch(42.92% 0.173 299.7)
XYZxyz(11.9323, 6.8321, 33.0312)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602D9E #6B9E2D
analogous
#2D329E #602D9E #992D9E
triadic
#602D9E #9E602D #2D9E60
tetradic
#602D9E #9E2D32 #6B9E2D #2D9E99
square
#602D9E #9E2D32 #6B9E2D #2D9E99
split-complementary
#602D9E #9E992D #329E2D
monochromatic
#26123F #431F6E #602D9E #7D40C9 #9E6FD6

Accessibility & contrast

On white

8.87
#602D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#602D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602D9E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602D9E#FFFFFF#000000##FFFFFF
##602D9E1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#524962
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #602d9e;
/* rgb */ color: rgb(96, 45, 158);
/* oklch */ color: oklch(42.9% 0.173 299.7);
Tailwind
colors: {
  custom: {
    50: '#936abb',
    500: '#602d9e',
    950: '#000000',
  },
}
SCSS
$custom: #602d9e;
$custom-light: #936abb;
$custom-dark: #000000;
JSON
{
  "hex": "#602d9e",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 267.08,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42919,
    "c": 0.17279,
    "h": 299.7
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#602D9E
secondary
#97BD69
accent
#DF499B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #602D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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