#602A7D#602A7D

#602A7D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.140 H 311.7°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#602A7D
RGBrgb(96, 42, 125)
HSLhsl(279, 50%, 33%)
HSVhsv(279, 66%, 49%)
CMYKcmyk(23.2%, 66.4%, 0%, 51%)
CIE-LABlab(28.44, 39.27, -37.05)
CIE-LCHlch(28.44, 53.99, 316.67°)
OKLaboklab(40.01% 0.0929 -0.1044)
OKLCHoklch(40.01% 0.14 311.7)
XYZxyz(9.3528, 5.6236, 19.9908)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A7D #477D2A
analogous
#362A7D #602A7D #7D2A71
triadic
#602A7D #7D602A #2A7D60
tetradic
#602A7D #7D362A #477D2A #2A717D
square
#602A7D #7D362A #477D2A #2A717D
split-complementary
#602A7D #717D2A #2A7D36
monochromatic
#1A0B21 #3D1B4F #602A7D #8339AB #A15AC8

Accessibility & contrast

On white

9.88
#602A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#602A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A7D
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A7D#FFFFFF#000000##FFFFFF
##602A7D1.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014080
Deuteranopia (green-blind)
#22447B
Tritanopia (blue-blind)
#5D3A4F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #602a7d;
/* rgb */ color: rgb(96, 42, 125);
/* oklch */ color: oklch(40.0% 0.140 311.7);
Tailwind
colors: {
  custom: {
    50: '#9067a3',
    500: '#602a7d',
    950: '#000000',
  },
}
SCSS
$custom: #602a7d;
$custom-light: #9067a3;
$custom-dark: #000000;
JSON
{
  "hex": "#602a7d",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 279.036,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40014,
    "c": 0.13973,
    "h": 311.7
  },
  "luminance": 0.05623
}

Semantic roles & 50–950 ramp

primary
#602A7D
secondary
#74AD56
accent
#D94F7F
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #602A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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