#651B7D#651B7D

#651B7D is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.161 H 316.2°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#651B7D
RGBrgb(101, 27, 125)
HSLhsl(285, 64%, 30%)
HSVhsv(285, 78%, 49%)
CMYKcmyk(19.2%, 78.4%, 0%, 51%)
CIE-LABlab(26.82, 47.13, -39.61)
CIE-LCHlch(26.82, 61.56, 319.95°)
OKLaboklab(39.02% 0.1166 -0.1116)
OKLCHoklch(39.02% 0.161 316.2)
XYZxyz(9.4599, 5.0316, 19.8710)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651B7D #337D1B
analogous
#341B7D #651B7D #7D1B64
triadic
#651B7D #7D651B #1B7D65
tetradic
#651B7D #7D341B #337D1B #1B647D
square
#651B7D #7D341B #337D1B #1B647D
split-complementary
#651B7D #647D1B #1B7D34
monochromatic
#140519 #3C104B #651B7D #8E26AF #B03DD5

Accessibility & contrast

On white

10.47
#651B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#651B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651B7D
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651B7D#FFFFFF#000000##FFFFFF
##651B7D1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#1A417B
Tritanopia (blue-blind)
#63314B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #651b7d;
/* rgb */ color: rgb(101, 27, 125);
/* oklch */ color: oklch(39.0% 0.161 316.2);
Tailwind
colors: {
  custom: {
    50: '#9460a3',
    500: '#651b7d',
    950: '#000000',
  },
}
SCSS
$custom: #651b7d;
$custom-light: #9460a3;
$custom-dark: #000000;
JSON
{
  "hex": "#651b7d",
  "rgb": {
    "r": 101,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 285.306,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39017,
    "c": 0.16137,
    "h": 316.2
  },
  "luminance": 0.05031
}

Semantic roles & 50–950 ramp

primary
#651B7D
secondary
#5EB143
accent
#E74069
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #651B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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