#651A87#651A87

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

Color values

HEX#651A87
RGBrgb(101, 26, 135)
HSLhsl(281, 68%, 32%)
HSVhsv(281, 81%, 53%)
CMYKcmyk(25.2%, 80.7%, 0%, 47.1%)
CIE-LABlab(27.45, 49.61, -44.88)
CIE-LCHlch(27.45, 66.90, 317.87°)
OKLaboklab(39.69% 0.1156 -0.1271)
OKLCHoklch(39.69% 0.172 312.3)
XYZxyz(10.1086, 5.2551, 23.3988)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651A87 #3C871A
analogous
#2E1A87 #651A87 #871A73
triadic
#651A87 #87651A #1A8765
tetradic
#651A87 #872E1A #3C871A #1A7387
square
#651A87 #872E1A #3C871A #1A7387
split-complementary
#651A87 #73871A #1A872E
monochromatic
#180620 #3F1054 #651A87 #8B24BA #AB41DA

Accessibility & contrast

On white

10.24
#651A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#651A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651A87
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651A87#FFFFFF#000000##FFFFFF
##651A871.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#054285
Tritanopia (blue-blind)
#613551
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #651a87;
/* rgb */ color: rgb(101, 26, 135);
/* oklch */ color: oklch(39.7% 0.172 312.3);
Tailwind
colors: {
  custom: {
    50: '#9560ab',
    500: '#651a87',
    950: '#000000',
  },
}
SCSS
$custom: #651a87;
$custom-light: #9560ab;
$custom-dark: #000000;
JSON
{
  "hex": "#651a87",
  "rgb": {
    "r": 101,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 281.284,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39694,
    "c": 0.17182,
    "h": 312.3
  },
  "luminance": 0.05255
}

Semantic roles & 50–950 ramp

primary
#651A87
secondary
#68BA42
accent
#EB3D73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #651A87

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

Preview Lab → · Contrast checker → · Palette generator →

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