#602298#602298

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

Color values

HEX#602298
RGBrgb(96, 34, 152)
HSLhsl(272, 63%, 36%)
HSVhsv(272, 78%, 60%)
CMYKcmyk(36.8%, 77.6%, 0%, 40.4%)
CIE-LABlab(29.15, 49.49, -52.66)
CIE-LCHlch(29.15, 72.27, 313.23°)
OKLaboklab(41.16% 0.0974 -0.1502)
OKLCHoklch(41.16% 0.179 303)
XYZxyz(11.0621, 5.8978, 30.2553)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602298 #5A9822
analogous
#252298 #602298 #982295
triadic
#602298 #986022 #229860
tetradic
#602298 #982522 #5A9822 #229598
square
#602298 #982522 #5A9822 #229598
split-complementary
#602298 #959822 #229825
monochromatic
#210C34 #401766 #602298 #802DCA #9D5ADA

Accessibility & contrast

On white

9.63
#602298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#602298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602298
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602298#FFFFFF#000000##FFFFFF
##6022981.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #602298;
/* rgb */ color: rgb(96, 34, 152);
/* oklch */ color: oklch(41.2% 0.179 303.0);
Tailwind
colors: {
  custom: {
    50: '#9364b7',
    500: '#602298',
    950: '#000000',
  },
}
SCSS
$custom: #602298;
$custom-light: #9364b7;
$custom-dark: #000000;
JSON
{
  "hex": "#602298",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 271.525,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41164,
    "c": 0.17902,
    "h": 303
  },
  "luminance": 0.05898
}

Semantic roles & 50–950 ramp

primary
#602298
secondary
#88BE57
accent
#E64190
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #602298

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

Preview Lab → · Contrast checker → · Palette generator →

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