#651B7A#651B7A

#651B7A is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.159 H 317.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#651B7A
RGBrgb(101, 27, 122)
HSLhsl(287, 64%, 29%)
HSVhsv(287, 78%, 48%)
CMYKcmyk(17.2%, 77.9%, 0%, 52.2%)
CIE-LABlab(26.61, 46.50, -38.06)
CIE-LCHlch(26.61, 60.09, 320.70°)
OKLaboklab(38.8% 0.117 -0.107)
OKLCHoklch(38.8% 0.159 317.5)
XYZxyz(9.2711, 4.9561, 18.8769)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651B7A #307A1B
analogous
#361B7A #651B7A #7A1B60
triadic
#651B7A #7A651B #1B7A65
tetradic
#651B7A #7A361B #307A1B #1B607A
square
#651B7A #7A361B #307A1B #1B607A
split-complementary
#651B7A #607A1B #1B7A36
monochromatic
#150619 #3C1048 #651B7A #8E26AC #B23CD4

Accessibility & contrast

On white

10.55
#651B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#651B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651B7A
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651B7A#FFFFFF#000000##FFFFFF
##651B7A1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#1E4178
Tritanopia (blue-blind)
#642F49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #651b7a;
/* rgb */ color: rgb(101, 27, 122);
/* oklch */ color: oklch(38.8% 0.159 317.5);
Tailwind
colors: {
  custom: {
    50: '#9460a1',
    500: '#651b7a',
    950: '#000000',
  },
}
SCSS
$custom: #651b7a;
$custom-light: #9460a1;
$custom-dark: #000000;
JSON
{
  "hex": "#651b7a",
  "rgb": {
    "r": 101,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 286.737,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38796,
    "c": 0.15856,
    "h": 317.5
  },
  "luminance": 0.04956
}

Semantic roles & 50–950 ramp

primary
#651B7A
secondary
#5AAE43
accent
#E74166
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #651B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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