#602771#602771

#602771 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.8% C 0.131 H 317.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#602771
RGBrgb(96, 39, 113)
HSLhsl(286, 49%, 30%)
HSVhsv(286, 65%, 44%)
CMYKcmyk(15%, 65.5%, 0%, 55.7%)
CIE-LABlab(27.10, 38.07, -31.58)
CIE-LCHlch(27.10, 49.46, 320.32°)
OKLaboklab(38.8% 0.0971 -0.0883)
OKLCHoklch(38.8% 0.131 317.7)
XYZxyz(8.5296, 5.1304, 16.1606)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602771 #387127
analogous
#3B2771 #602771 #71275D
triadic
#602771 #716027 #277160
tetradic
#602771 #713B27 #387127 #275D71
square
#602771 #713B27 #387127 #275D71
split-complementary
#602771 #5D7127 #27713B
monochromatic
#130817 #391744 #602771 #87379E #A850C3

Accessibility & contrast

On white

10.37
#602771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#602771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602771
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602771#FFFFFF#000000##FFFFFF
##6027711.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103C73
Deuteranopia (green-blind)
#2A426F
Tritanopia (blue-blind)
#603448
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #602771;
/* rgb */ color: rgb(96, 39, 113);
/* oklch */ color: oklch(38.8% 0.131 317.7);
Tailwind
colors: {
  custom: {
    50: '#90659a',
    500: '#602771',
    950: '#000000',
  },
}
SCSS
$custom: #602771;
$custom-light: #90659a;
$custom-dark: #000000;
JSON
{
  "hex": "#602771",
  "rgb": {
    "r": 96,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 286.216,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38795,
    "c": 0.13124,
    "h": 317.7
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#602771
secondary
#63A350
accent
#D8506F
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #602771

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

Preview Lab → · Contrast checker → · Palette generator →

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