#602293#602293

#602293 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.174 H 304.6°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#602293
RGBrgb(96, 34, 147)
HSLhsl(273, 62%, 35%)
HSVhsv(273, 77%, 58%)
CMYKcmyk(34.7%, 76.9%, 0%, 42.4%)
CIE-LABlab(28.74, 48.29, -50.26)
CIE-LCHlch(28.74, 69.70, 313.85°)
OKLaboklab(40.74% 0.0986 -0.1431)
OKLCHoklch(40.74% 0.174 304.6)
XYZxyz(10.6612, 5.7375, 28.1439)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602293 #559322
analogous
#272293 #602293 #93228D
triadic
#602293 #936022 #229360
tetradic
#602293 #932722 #559322 #228D93
square
#602293 #932722 #559322 #228D93
split-complementary
#602293 #8D9322 #229327
monochromatic
#1F0B30 #401761 #602293 #802DC5 #9E57D8

Accessibility & contrast

On white

9.78
#602293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#602293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602293
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602293#FFFFFF#000000##FFFFFF
##6022931.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#563E59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #602293;
/* rgb */ color: rgb(96, 34, 147);
/* oklch */ color: oklch(40.7% 0.174 304.6);
Tailwind
colors: {
  custom: {
    50: '#9264b4',
    500: '#602293',
    950: '#000000',
  },
}
SCSS
$custom: #602293;
$custom-light: #9264b4;
$custom-dark: #000000;
JSON
{
  "hex": "#602293",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 272.92,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40745,
    "c": 0.17382,
    "h": 304.6
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#602293
secondary
#83BC55
accent
#E5428C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602293

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

Preview Lab → · Contrast checker → · Palette generator →

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