#651F7D#651F7D

#651F7D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.157 H 315.9°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#651F7D
RGBrgb(101, 31, 125)
HSLhsl(285, 60%, 31%)
HSVhsv(285, 75%, 49%)
CMYKcmyk(19.2%, 75.2%, 0%, 51%)
CIE-LABlab(27.37, 45.56, -38.72)
CIE-LCHlch(27.37, 59.79, 319.63°)
OKLaboklab(39.41% 0.1126 -0.109)
OKLCHoklch(39.41% 0.157 315.9)
XYZxyz(9.5579, 5.2277, 19.9036)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F7D #377D1F
analogous
#361F7D #651F7D #7D1F66
triadic
#651F7D #7D651F #1F7D65
tetradic
#651F7D #7D361F #377D1F #1F667D
square
#651F7D #7D361F #377D1F #1F667D
split-complementary
#651F7D #667D1F #1F7D36
monochromatic
#16071B #3D134C #651F7D #8D2BAE #AD45D1

Accessibility & contrast

On white

10.27
#651F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651F7D
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F7D#FFFFFF#000000##FFFFFF
##651F7D1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#1E437B
Tritanopia (blue-blind)
#63334C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #651f7d;
/* rgb */ color: rgb(101, 31, 125);
/* oklch */ color: oklch(39.4% 0.157 315.9);
Tailwind
colors: {
  custom: {
    50: '#9462a3',
    500: '#651f7d',
    950: '#000000',
  },
}
SCSS
$custom: #651f7d;
$custom-light: #9462a3;
$custom-dark: #000000;
JSON
{
  "hex": "#651f7d",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 284.681,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39406,
    "c": 0.15671,
    "h": 315.9
  },
  "luminance": 0.05227
}

Semantic roles & 50–950 ramp

primary
#651F7D
secondary
#62B048
accent
#E3446D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #651F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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