#602791#602791

#602791 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.166 H 304.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#602791
RGBrgb(96, 39, 145)
HSLhsl(272, 58%, 36%)
HSVhsv(272, 73%, 57%)
CMYKcmyk(33.8%, 73.1%, 0%, 43.1%)
CIE-LABlab(29.37, 45.57, -48.01)
CIE-LCHlch(29.37, 66.19, 313.51°)
OKLaboklab(41.14% 0.0941 -0.1365)
OKLCHoklch(41.14% 0.166 304.6)
XYZxyz(10.6591, 5.9822, 27.3757)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602791 #589127
analogous
#2B2791 #602791 #91278D
triadic
#602791 #916027 #279160
tetradic
#602791 #912B27 #589127 #278D91
square
#602791 #912B27 #589127 #278D91
split-complementary
#602791 #8D9127 #27912B
monochromatic
#200D31 #401A61 #602791 #8034C1 #9E5FD4

Accessibility & contrast

On white

9.56
#602791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#602791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602791
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602791#FFFFFF#000000##FFFFFF
##6027911.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#574059
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602791;
/* rgb */ color: rgb(96, 39, 145);
/* oklch */ color: oklch(41.1% 0.166 304.6);
Tailwind
colors: {
  custom: {
    50: '#9266b2',
    500: '#602791',
    950: '#000000',
  },
}
SCSS
$custom: #602791;
$custom-light: #9266b2;
$custom-dark: #000000;
JSON
{
  "hex": "#602791",
  "rgb": {
    "r": 96,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 272.264,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41138,
    "c": 0.16582,
    "h": 304.6
  },
  "luminance": 0.05982
}

Semantic roles & 50–950 ramp

primary
#602791
secondary
#86B95B
accent
#E1478E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602791

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

Preview Lab → · Contrast checker → · Palette generator →

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