#602195#602195

#602195 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.177 H 304.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#602195
RGBrgb(96, 33, 149)
HSLhsl(273, 64%, 36%)
HSVhsv(273, 78%, 58%)
CMYKcmyk(35.6%, 77.9%, 0%, 41.6%)
CIE-LABlab(28.76, 49.19, -51.46)
CIE-LCHlch(28.76, 71.19, 313.70°)
OKLaboklab(40.81% 0.0991 -0.1467)
OKLCHoklch(40.81% 0.177 304)
XYZxyz(10.7913, 5.7445, 28.9682)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602195 #569521
analogous
#262195 #602195 #952190
triadic
#602195 #956021 #219560
tetradic
#602195 #952621 #569521 #219095
square
#602195 #952621 #569521 #219095
split-complementary
#602195 #909521 #219526
monochromatic
#1F0B31 #401663 #602195 #802CC7 #9E57DA

Accessibility & contrast

On white

9.77
#602195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602195
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602195#FFFFFF#000000##FFFFFF
##6021951.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #602195;
/* rgb */ color: rgb(96, 33, 149);
/* oklch */ color: oklch(40.8% 0.177 304.0);
Tailwind
colors: {
  custom: {
    50: '#9264b5',
    500: '#602195',
    950: '#000000',
  },
}
SCSS
$custom: #602195;
$custom-light: #9264b5;
$custom-dark: #000000;
JSON
{
  "hex": "#602195",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 272.586,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40809,
    "c": 0.17699,
    "h": 304
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#602195
secondary
#84BE54
accent
#E7418D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #602195

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

Preview Lab → · Contrast checker → · Palette generator →

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