#602D9A#602D9A

#602D9A is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.168 H 300.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#602D9A
RGBrgb(96, 45, 154)
HSLhsl(268, 55%, 39%)
HSVhsv(268, 71%, 60%)
CMYKcmyk(37.7%, 70.8%, 0%, 39.6%)
CIE-LABlab(31.11, 44.93, -50.70)
CIE-LCHlch(31.11, 67.74, 311.54°)
OKLaboklab(42.6% 0.0862 -0.1445)
OKLCHoklch(42.6% 0.168 300.8)
XYZxyz(11.5936, 6.6966, 31.2474)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602D9A #679A2D
analogous
#2D319A #602D9A #972D9A
triadic
#602D9A #9A602D #2D9A60
tetradic
#602D9A #9A2D31 #679A2D #2D9A97
square
#602D9A #9A2D31 #679A2D #2D9A97
split-complementary
#602D9A #9A972D #319A2D
monochromatic
#25113B #421F6B #602D9A #7E3EC7 #9D6DD4

Accessibility & contrast

On white

8.98
#602D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#602D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602D9A
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602D9A#FFFFFF#000000##FFFFFF
##602D9A1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#534760
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #602d9a;
/* rgb */ color: rgb(96, 45, 154);
/* oklch */ color: oklch(42.6% 0.168 300.8);
Tailwind
colors: {
  custom: {
    50: '#926ab9',
    500: '#602d9a',
    950: '#000000',
  },
}
SCSS
$custom: #602d9a;
$custom-light: #926ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#602d9a",
  "rgb": {
    "r": 96,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 268.073,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42595,
    "c": 0.16826,
    "h": 300.8
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#602D9A
secondary
#94BB67
accent
#DE4A99
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #602D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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