#602A98#602A98

#602A98 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.170 H 301.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#602A98
RGBrgb(96, 42, 152)
HSLhsl(269, 57%, 38%)
HSVhsv(269, 72%, 60%)
CMYKcmyk(36.8%, 72.4%, 0%, 40.4%)
CIE-LABlab(30.42, 45.89, -50.59)
CIE-LCHlch(30.42, 68.30, 312.21°)
OKLaboklab(42.06% 0.0897 -0.1442)
OKLCHoklch(42.06% 0.17 301.9)
XYZxyz(11.3180, 6.4097, 30.3406)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A98 #62982A
analogous
#2A2B98 #602A98 #972A98
triadic
#602A98 #98602A #2A9860
tetradic
#602A98 #982A2B #62982A #2A9897
square
#602A98 #982A2B #62982A #2A9897
split-complementary
#602A98 #98972A #2B982A
monochromatic
#231038 #421D68 #602A98 #7E37C8 #9D67D5

Accessibility & contrast

On white

9.20
#602A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#602A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A98
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A98#FFFFFF#000000##FFFFFF
##602A981.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#54455E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #602a98;
/* rgb */ color: rgb(96, 42, 152);
/* oklch */ color: oklch(42.1% 0.170 301.9);
Tailwind
colors: {
  custom: {
    50: '#9268b7',
    500: '#602a98',
    950: '#000000',
  },
}
SCSS
$custom: #602a98;
$custom-light: #9268b7;
$custom-dark: #000000;
JSON
{
  "hex": "#602a98",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 269.455,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4206,
    "c": 0.16978,
    "h": 301.9
  },
  "luminance": 0.0641
}

Semantic roles & 50–950 ramp

primary
#602A98
secondary
#90BB62
accent
#E04895
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602A98

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

Preview Lab → · Contrast checker → · Palette generator →

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