#602799#602799

#602799 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.174 H 302.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#602799
RGBrgb(96, 39, 153)
HSLhsl(270, 59%, 38%)
HSVhsv(270, 75%, 60%)
CMYKcmyk(37.3%, 74.5%, 0%, 40%)
CIE-LABlab(30.00, 47.55, -51.88)
CIE-LCHlch(30.00, 70.38, 312.50°)
OKLaboklab(41.79% 0.0925 -0.1479)
OKLCHoklch(41.79% 0.174 302)
XYZxyz(11.2978, 6.2377, 30.7396)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602799 #609927
analogous
#272799 #602799 #992799
triadic
#602799 #996027 #279960
tetradic
#602799 #992727 #609927 #279999
square
#602799 #992727 #609927 #279999
split-complementary
#602799 #999927 #279927
monochromatic
#230E37 #411B68 #602799 #7F33CA #9D63D7

Accessibility & contrast

On white

9.34
#602799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#602799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602799
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602799#FFFFFF#000000##FFFFFF
##6027991.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#54435E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #602799;
/* rgb */ color: rgb(96, 39, 153);
/* oklch */ color: oklch(41.8% 0.174 302.0);
Tailwind
colors: {
  custom: {
    50: '#9267b8',
    500: '#602799',
    950: '#000000',
  },
}
SCSS
$custom: #602799;
$custom-light: #9267b8;
$custom-dark: #000000;
JSON
{
  "hex": "#602799",
  "rgb": {
    "r": 96,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 270,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41789,
    "c": 0.17448,
    "h": 302
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#602799
secondary
#8EBD5F
accent
#E34594
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #602799

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

Preview Lab → · Contrast checker → · Palette generator →

#602799 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva