#602299#602299

#602299 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.180 H 302.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#602299
RGBrgb(96, 34, 153)
HSLhsl(271, 64%, 37%)
HSVhsv(271, 78%, 60%)
CMYKcmyk(37.3%, 77.8%, 0%, 40%)
CIE-LABlab(29.24, 49.74, -53.14)
CIE-LCHlch(29.24, 72.78, 313.11°)
OKLaboklab(41.25% 0.0972 -0.1516)
OKLCHoklch(41.25% 0.18 302.7)
XYZxyz(11.1443, 5.9307, 30.6884)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602299 #5B9922
analogous
#252299 #602299 #992297
triadic
#602299 #996022 #229960
tetradic
#602299 #992522 #5B9922 #229799
square
#602299 #992522 #5B9922 #229799
split-complementary
#602299 #979922 #229925
monochromatic
#210C35 #411767 #602299 #7F2DCB #9D5BDB

Accessibility & contrast

On white

9.61
#602299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#602299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602299
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602299#FFFFFF#000000##FFFFFF
##6022991.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#54415D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602299;
/* rgb */ color: rgb(96, 34, 153);
/* oklch */ color: oklch(41.2% 0.180 302.7);
Tailwind
colors: {
  custom: {
    50: '#9364b8',
    500: '#602299',
    950: '#000000',
  },
}
SCSS
$custom: #602299;
$custom-light: #9364b8;
$custom-dark: #000000;
JSON
{
  "hex": "#602299",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 271.261,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41248,
    "c": 0.18005,
    "h": 302.7
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

primary
#602299
secondary
#89BF58
accent
#E74190
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #602299

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

Preview Lab → · Contrast checker → · Palette generator →

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