#602098#602098

#602098 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.181 H 303.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#602098
RGBrgb(96, 32, 152)
HSLhsl(272, 65%, 36%)
HSVhsv(272, 79%, 60%)
CMYKcmyk(36.8%, 78.9%, 0%, 40.4%)
CIE-LABlab(28.87, 50.31, -53.12)
CIE-LCHlch(28.87, 73.17, 313.44°)
OKLaboklab(40.96% 0.0992 -0.1515)
OKLCHoklch(40.96% 0.181 303.2)
XYZxyz(11.0065, 5.7868, 30.2368)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602098 #589820
analogous
#242098 #602098 #982094
triadic
#602098 #986020 #209860
tetradic
#602098 #982420 #589820 #209498
square
#602098 #982420 #589820 #209498
split-complementary
#602098 #949820 #209824
monochromatic
#200B33 #401565 #602098 #802BCB #9E57DC

Accessibility & contrast

On white

9.73
#602098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#602098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602098
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602098#FFFFFF#000000##FFFFFF
##6020981.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#54405C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #602098;
/* rgb */ color: rgb(96, 32, 152);
/* oklch */ color: oklch(41.0% 0.181 303.2);
Tailwind
colors: {
  custom: {
    50: '#9363b7',
    500: '#602098',
    950: '#000000',
  },
}
SCSS
$custom: #602098;
$custom-light: #9363b7;
$custom-dark: #000000;
JSON
{
  "hex": "#602098",
  "rgb": {
    "r": 96,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 272,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40964,
    "c": 0.1811,
    "h": 303.2
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#602098
secondary
#86BF54
accent
#E8408E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #602098

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

Preview Lab → · Contrast checker → · Palette generator →

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