#651D7F#651D7F

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

Color values

HEX#651D7F
RGBrgb(101, 29, 127)
HSLhsl(284, 63%, 31%)
HSVhsv(284, 77%, 50%)
CMYKcmyk(20.5%, 77.2%, 0%, 50.2%)
CIE-LABlab(27.24, 46.78, -40.21)
CIE-LCHlch(27.24, 61.69, 319.32°)
OKLaboklab(39.35% 0.1143 -0.1134)
OKLCHoklch(39.35% 0.161 315.2)
XYZxyz(9.6363, 5.1781, 20.5664)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651D7F #377F1D
analogous
#341D7F #651D7F #7F1D68
triadic
#651D7F #7F651D #1D7F65
tetradic
#651D7F #7F341D #377F1D #1D687F
square
#651D7F #7F341D #377F1D #1D687F
split-complementary
#651D7F #687F1D #1D7F34
monochromatic
#16061B #3D124D #651D7F #8D28B1 #AD42D4

Accessibility & contrast

On white

10.32
#651D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#651D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651D7F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651D7F#FFFFFF#000000##FFFFFF
##651D7F1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#19427D
Tritanopia (blue-blind)
#63334D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #651d7f;
/* rgb */ color: rgb(101, 29, 127);
/* oklch */ color: oklch(39.4% 0.161 315.2);
Tailwind
colors: {
  custom: {
    50: '#9461a5',
    500: '#651d7f',
    950: '#000000',
  },
}
SCSS
$custom: #651d7f;
$custom-light: #9461a5;
$custom-dark: #000000;
JSON
{
  "hex": "#651d7f",
  "rgb": {
    "r": 101,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 284.082,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39354,
    "c": 0.16101,
    "h": 315.2
  },
  "luminance": 0.05178
}

Semantic roles & 50–950 ramp

primary
#651D7F
secondary
#62B245
accent
#E6426D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #651D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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