#602D9D#602D9D

#602D9D is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.172 H 299.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#602D9D
RGBrgb(96, 45, 157)
HSLhsl(267, 55%, 40%)
HSVhsv(267, 71%, 62%)
CMYKcmyk(38.9%, 71.3%, 0%, 38.4%)
CIE-LABlab(31.34, 45.70, -52.15)
CIE-LCHlch(31.34, 69.34, 311.23°)
OKLaboklab(42.84% 0.0857 -0.1487)
OKLCHoklch(42.84% 0.172 299.9)
XYZxyz(11.8465, 6.7978, 32.5797)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602D9D #6A9D2D
analogous
#2D329D #602D9D #982D9D
triadic
#602D9D #9D602D #2D9D60
tetradic
#602D9D #9D2D32 #6A9D2D #2D9D98
square
#602D9D #9D2D32 #6A9D2D #2D9D98
split-complementary
#602D9D #9D982D #329D2D
monochromatic
#26123E #431F6D #602D9D #7D3FC8 #9E6FD6

Accessibility & contrast

On white

8.90
#602D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#602D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602D9D
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602D9D#FFFFFF#000000##FFFFFF
##602D9D1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#524862
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #602d9d;
/* rgb */ color: rgb(96, 45, 157);
/* oklch */ color: oklch(42.8% 0.172 299.9);
Tailwind
colors: {
  custom: {
    50: '#936abb',
    500: '#602d9d',
    950: '#000000',
  },
}
SCSS
$custom: #602d9d;
$custom-light: #936abb;
$custom-dark: #000000;
JSON
{
  "hex": "#602d9d",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 267.321,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42838,
    "c": 0.17165,
    "h": 299.9
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #602D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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