#602A7E#602A7E

#602A7E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.141 H 311.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#602A7E
RGBrgb(96, 42, 126)
HSLhsl(279, 50%, 33%)
HSVhsv(279, 67%, 49%)
CMYKcmyk(23.8%, 66.7%, 0%, 50.6%)
CIE-LABlab(28.51, 39.51, -37.57)
CIE-LCHlch(28.51, 54.52, 316.44°)
OKLaboklab(40.09% 0.0929 -0.1059)
OKLCHoklch(40.09% 0.141 311.2)
XYZxyz(9.4170, 5.6493, 20.3290)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A7E #487E2A
analogous
#362A7E #602A7E #7E2A72
triadic
#602A7E #7E602A #2A7E60
tetradic
#602A7E #7E362A #487E2A #2A727E
square
#602A7E #7E362A #487E2A #2A727E
split-complementary
#602A7E #727E2A #2A7E36
monochromatic
#1A0B22 #3D1B50 #602A7E #8339AC #A15AC8

Accessibility & contrast

On white

9.86
#602A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#602A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A7E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A7E#FFFFFF#000000##FFFFFF
##602A7E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#21447C
Tritanopia (blue-blind)
#5C3B50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #602a7e;
/* rgb */ color: rgb(96, 42, 126);
/* oklch */ color: oklch(40.1% 0.141 311.2);
Tailwind
colors: {
  custom: {
    50: '#9067a4',
    500: '#602a7e',
    950: '#000000',
  },
}
SCSS
$custom: #602a7e;
$custom-light: #9067a4;
$custom-dark: #000000;
JSON
{
  "hex": "#602a7e",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 278.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40085,
    "c": 0.14083,
    "h": 311.2
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#602A7E
secondary
#75AE56
accent
#DA4E80
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #602A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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