#602295#602295

#602295 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.176 H 303.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#602295
RGBrgb(96, 34, 149)
HSLhsl(272, 63%, 36%)
HSVhsv(272, 77%, 58%)
CMYKcmyk(35.6%, 77.2%, 0%, 41.6%)
CIE-LABlab(28.90, 48.77, -51.23)
CIE-LCHlch(28.90, 70.73, 313.59°)
OKLaboklab(40.91% 0.0982 -0.146)
OKLCHoklch(40.91% 0.176 303.9)
XYZxyz(10.8195, 5.8008, 28.9776)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602295 #579522
analogous
#262295 #602295 #952290
triadic
#602295 #956022 #229560
tetradic
#602295 #952622 #579522 #229095
square
#602295 #952622 #579522 #229095
split-complementary
#602295 #909522 #229526
monochromatic
#200B31 #401763 #602295 #802DC7 #9E58D9

Accessibility & contrast

On white

9.72
#602295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602295
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602295#FFFFFF#000000##FFFFFF
##6022951.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#553F5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #602295;
/* rgb */ color: rgb(96, 34, 149);
/* oklch */ color: oklch(40.9% 0.176 303.9);
Tailwind
colors: {
  custom: {
    50: '#9264b5',
    500: '#602295',
    950: '#000000',
  },
}
SCSS
$custom: #602295;
$custom-light: #9264b5;
$custom-dark: #000000;
JSON
{
  "hex": "#602295",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 272.348,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40911,
    "c": 0.17591,
    "h": 303.9
  },
  "luminance": 0.05801
}

Semantic roles & 50–950 ramp

primary
#602295
secondary
#85BD56
accent
#E6428D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #602295

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

Preview Lab → · Contrast checker → · Palette generator →

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