#602A8F#602A8F

#602A8F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.160 H 304.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#602A8F
RGBrgb(96, 42, 143)
HSLhsl(272, 55%, 36%)
HSVhsv(272, 71%, 56%)
CMYKcmyk(32.9%, 70.6%, 0%, 43.9%)
CIE-LABlab(29.73, 43.63, -46.19)
CIE-LCHlch(29.73, 63.54, 313.37°)
OKLaboklab(41.35% 0.0912 -0.1312)
OKLCHoklch(41.35% 0.16 304.8)
XYZxyz(10.6086, 6.1260, 26.6048)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A8F #598F2A
analogous
#2D2A8F #602A8F #8F2A8C
triadic
#602A8F #8F602A #2A8F60
tetradic
#602A8F #8F2D2A #598F2A #2A8C8F
square
#602A8F #8F2D2A #598F2A #2A8C8F
split-complementary
#602A8F #8C8F2A #2A8F2D
monochromatic
#200E30 #401C60 #602A8F #8038BE #9E62D1

Accessibility & contrast

On white

9.44
#602A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#602A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A8F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A8F#FFFFFF#000000##FFFFFF
##602A8F1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#01468D
Tritanopia (blue-blind)
#574159
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #602a8f;
/* rgb */ color: rgb(96, 42, 143);
/* oklch */ color: oklch(41.3% 0.160 304.8);
Tailwind
colors: {
  custom: {
    50: '#9168b0',
    500: '#602a8f',
    950: '#000000',
  },
}
SCSS
$custom: #602a8f;
$custom-light: #9168b0;
$custom-dark: #000000;
JSON
{
  "hex": "#602a8f",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 272.079,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41346,
    "c": 0.15978,
    "h": 304.8
  },
  "luminance": 0.06126
}

Semantic roles & 50–950 ramp

primary
#602A8F
secondary
#87B75E
accent
#DE4A8F
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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