#651B88#651B88

#651B88 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.172 H 311.8°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#651B88
RGBrgb(101, 27, 136)
HSLhsl(281, 67%, 32%)
HSVhsv(281, 80%, 53%)
CMYKcmyk(25.7%, 80.1%, 0%, 46.7%)
CIE-LABlab(27.65, 49.47, -45.18)
CIE-LCHlch(27.65, 67.00, 317.60°)
OKLaboklab(39.86% 0.1146 -0.128)
OKLCHoklch(39.86% 0.172 311.8)
XYZxyz(10.2019, 5.3284, 23.7789)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651B88 #3E881B
analogous
#2F1B88 #651B88 #881B75
triadic
#651B88 #88651B #1B8865
tetradic
#651B88 #882F1B #3E881B #1B7588
square
#651B88 #882F1B #3E881B #1B7588
split-complementary
#651B88 #75881B #1B882F
monochromatic
#190722 #3F1155 #651B88 #8B25BB #AA44DA

Accessibility & contrast

On white

10.17
#651B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#651B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651B88
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651B88#FFFFFF#000000##FFFFFF
##651B881.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#044386
Tritanopia (blue-blind)
#613651
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #651b88;
/* rgb */ color: rgb(101, 27, 136);
/* oklch */ color: oklch(39.9% 0.172 311.8);
Tailwind
colors: {
  custom: {
    50: '#9561ab',
    500: '#651b88',
    950: '#000000',
  },
}
SCSS
$custom: #651b88;
$custom-light: #9561ab;
$custom-dark: #000000;
JSON
{
  "hex": "#651b88",
  "rgb": {
    "r": 101,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 280.734,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3986,
    "c": 0.17175,
    "h": 311.8
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#651B88
secondary
#6ABB44
accent
#EA3E75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #651B88

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

Preview Lab → · Contrast checker → · Palette generator →

#651B88 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva