#602A7C#602A7C

#602A7C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.139 H 312.1°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#602A7C
RGBrgb(96, 42, 124)
HSLhsl(280, 49%, 33%)
HSVhsv(280, 66%, 49%)
CMYKcmyk(22.6%, 66.1%, 0%, 51.4%)
CIE-LABlab(28.38, 39.04, -36.52)
CIE-LCHlch(28.38, 53.46, 316.91°)
OKLaboklab(39.95% 0.093 -0.1028)
OKLCHoklch(39.95% 0.139 312.1)
XYZxyz(9.2893, 5.5982, 19.6561)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A7C #467C2A
analogous
#372A7C #602A7C #7C2A6F
triadic
#602A7C #7C602A #2A7C60
tetradic
#602A7C #7C372A #467C2A #2A6F7C
square
#602A7C #7C372A #467C2A #2A6F7C
split-complementary
#602A7C #6F7C2A #2A7C37
monochromatic
#190B21 #3D1B4E #602A7C #8339AA #A259C7

Accessibility & contrast

On white

9.91
#602A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602A7C
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A7C#FFFFFF#000000##FFFFFF
##602A7C1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03407F
Deuteranopia (green-blind)
#23447A
Tritanopia (blue-blind)
#5D3A4F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #602a7c;
/* rgb */ color: rgb(96, 42, 124);
/* oklch */ color: oklch(39.9% 0.139 312.1);
Tailwind
colors: {
  custom: {
    50: '#9067a2',
    500: '#602a7c',
    950: '#000000',
  },
}
SCSS
$custom: #602a7c;
$custom-light: #9067a2;
$custom-dark: #000000;
JSON
{
  "hex": "#602a7c",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 279.512,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39945,
    "c": 0.13862,
    "h": 312.1
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#602A7C
secondary
#73AD55
accent
#D94F7E
background
#F9F6FA
surface
#F1EBF3
border
#CBC6CD
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #602A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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