#602A9C#602A9C

#602A9C is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.174 H 300.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#602A9C
RGBrgb(96, 42, 156)
HSLhsl(268, 58%, 39%)
HSVhsv(268, 73%, 61%)
CMYKcmyk(38.5%, 73.1%, 0%, 38.8%)
CIE-LABlab(30.74, 46.90, -52.51)
CIE-LCHlch(30.74, 70.41, 311.77°)
OKLaboklab(42.39% 0.0889 -0.1498)
OKLCHoklch(42.39% 0.174 300.7)
XYZxyz(11.6511, 6.5429, 32.0951)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A9C #669C2A
analogous
#2A2D9C #602A9C #992A9C
triadic
#602A9C #9C602A #2A9C60
tetradic
#602A9C #9C2A2D #669C2A #2A9C99
square
#602A9C #9C2A2D #669C2A #2A9C99
split-complementary
#602A9C #9C992A #2D9C2A
monochromatic
#25103C #421D6C #602A9C #7E39CA #9D6AD7

Accessibility & contrast

On white

9.10
#602A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#602A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A9C
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A9C#FFFFFF#000000##FFFFFF
##602A9C1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#534660
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #602a9c;
/* rgb */ color: rgb(96, 42, 156);
/* oklch */ color: oklch(42.4% 0.174 300.7);
Tailwind
colors: {
  custom: {
    50: '#9369ba',
    500: '#602a9c',
    950: '#000000',
  },
}
SCSS
$custom: #602a9c;
$custom-light: #9369ba;
$custom-dark: #000000;
JSON
{
  "hex": "#602a9c",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 268.421,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42387,
    "c": 0.17421,
    "h": 300.7
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#602A9C
secondary
#93BD65
accent
#E14798
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #602A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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