#602697#602697

#602697 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.173 H 302.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#602697
RGBrgb(96, 38, 151)
HSLhsl(271, 60%, 37%)
HSVhsv(271, 75%, 59%)
CMYKcmyk(36.4%, 74.8%, 0%, 40.8%)
CIE-LABlab(29.68, 47.51, -51.19)
CIE-LCHlch(29.68, 69.83, 312.86°)
OKLaboklab(41.51% 0.0939 -0.1459)
OKLCHoklch(41.51% 0.174 302.8)
XYZxyz(11.1016, 6.1074, 29.8661)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602697 #5D9726
analogous
#272697 #602697 #972696
triadic
#602697 #976026 #269760
tetradic
#602697 #972726 #5D9726 #269697
square
#602697 #972726 #5D9726 #269697
split-complementary
#602697 #969726 #269727
monochromatic
#220D35 #411A66 #602697 #7F32C8 #9D60D7

Accessibility & contrast

On white

9.45
#602697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602697
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602697#FFFFFF#000000##FFFFFF
##6026971.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#55425C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #602697;
/* rgb */ color: rgb(96, 38, 151);
/* oklch */ color: oklch(41.5% 0.173 302.8);
Tailwind
colors: {
  custom: {
    50: '#9266b6',
    500: '#602697',
    950: '#000000',
  },
}
SCSS
$custom: #602697;
$custom-light: #9266b6;
$custom-dark: #000000;
JSON
{
  "hex": "#602697",
  "rgb": {
    "r": 96,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 270.796,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4151,
    "c": 0.1735,
    "h": 302.8
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#602697
secondary
#8BBC5C
accent
#E34592
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #602697

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

Preview Lab → · Contrast checker → · Palette generator →

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