#651D7E#651D7E

#651D7E is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.160 H 315.7°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#651D7E
RGBrgb(101, 29, 126)
HSLhsl(285, 63%, 30%)
HSVhsv(285, 77%, 49%)
CMYKcmyk(19.8%, 77%, 0%, 50.6%)
CIE-LABlab(27.16, 46.57, -39.69)
CIE-LCHlch(27.16, 61.19, 319.56°)
OKLaboklab(39.28% 0.1145 -0.1119)
OKLCHoklch(39.28% 0.16 315.7)
XYZxyz(9.5715, 5.1522, 20.2249)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651D7E #367E1D
analogous
#341D7E #651D7E #7E1D66
triadic
#651D7E #7E651D #1D7E65
tetradic
#651D7E #7E341D #367E1D #1D667E
square
#651D7E #7E341D #367E1D #1D667E
split-complementary
#651D7E #667E1D #1D7E34
monochromatic
#15061B #3D124C #651D7E #8D28B0 #AE42D3

Accessibility & contrast

On white

10.34
#651D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#651D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651D7E
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651D7E#FFFFFF#000000##FFFFFF
##651D7E1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#1B427C
Tritanopia (blue-blind)
#63324C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #651d7e;
/* rgb */ color: rgb(101, 29, 126);
/* oklch */ color: oklch(39.3% 0.160 315.7);
Tailwind
colors: {
  custom: {
    50: '#9461a4',
    500: '#651d7e',
    950: '#000000',
  },
}
SCSS
$custom: #651d7e;
$custom-light: #9461a4;
$custom-dark: #000000;
JSON
{
  "hex": "#651d7e",
  "rgb": {
    "r": 101,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 284.536,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3928,
    "c": 0.16005,
    "h": 315.7
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#651D7E
secondary
#61B145
accent
#E6426C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #651D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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