#602696#602696

#602696 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.172 H 303.1°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#602696
RGBrgb(96, 38, 150)
HSLhsl(271, 60%, 37%)
HSVhsv(271, 75%, 59%)
CMYKcmyk(36%, 74.7%, 0%, 41.2%)
CIE-LABlab(29.60, 47.26, -50.71)
CIE-LCHlch(29.60, 69.31, 312.99°)
OKLaboklab(41.43% 0.0941 -0.1445)
OKLCHoklch(41.43% 0.172 303.1)
XYZxyz(11.0207, 6.0750, 29.4402)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602696 #5C9626
analogous
#282696 #602696 #962694
triadic
#602696 #966026 #269660
tetradic
#602696 #962826 #5C9626 #269496
square
#602696 #962826 #5C9626 #269496
split-complementary
#602696 #949626 #269628
monochromatic
#210D34 #411A65 #602696 #7F32C7 #9D60D7

Accessibility & contrast

On white

9.48
#602696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#602696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602696
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602696#FFFFFF#000000##FFFFFF
##6026961.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#55425C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #602696;
/* rgb */ color: rgb(96, 38, 150);
/* oklch */ color: oklch(41.4% 0.172 303.1);
Tailwind
colors: {
  custom: {
    50: '#9266b6',
    500: '#602696',
    950: '#000000',
  },
}
SCSS
$custom: #602696;
$custom-light: #9266b6;
$custom-dark: #000000;
JSON
{
  "hex": "#602696",
  "rgb": {
    "r": 96,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 271.071,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41428,
    "c": 0.17242,
    "h": 303.1
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#602696
secondary
#8ABC5C
accent
#E34591
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602696

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

Preview Lab → · Contrast checker → · Palette generator →

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