#651F7E#651F7E

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

Color values

HEX#651F7E
RGBrgb(101, 31, 126)
HSLhsl(284, 61%, 31%)
HSVhsv(284, 75%, 49%)
CMYKcmyk(19.8%, 75.4%, 0%, 50.6%)
CIE-LABlab(27.44, 45.77, -39.24)
CIE-LCHlch(27.44, 60.29, 319.39°)
OKLaboklab(39.48% 0.1124 -0.1106)
OKLCHoklch(39.48% 0.158 315.5)
XYZxyz(9.6221, 5.2534, 20.2418)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F7E #387E1F
analogous
#361F7E #651F7E #7E1F67
triadic
#651F7E #7E651F #1F7E65
tetradic
#651F7E #7E361F #387E1F #1F677E
square
#651F7E #7E361F #387E1F #1F677E
split-complementary
#651F7E #677E1F #1F7E36
monochromatic
#16071C #3E134D #651F7E #8C2BAF #AD46D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##651F7E#FFFFFF#000000##FFFFFF
##651F7E1.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)
#003D81
Deuteranopia (green-blind)
#1D437C
Tritanopia (blue-blind)
#63334D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #651f7e;
/* rgb */ color: rgb(101, 31, 126);
/* oklch */ color: oklch(39.5% 0.158 315.5);
Tailwind
colors: {
  custom: {
    50: '#9462a4',
    500: '#651f7e',
    950: '#000000',
  },
}
SCSS
$custom: #651f7e;
$custom-light: #9462a4;
$custom-dark: #000000;
JSON
{
  "hex": "#651f7e",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 284.211,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39479,
    "c": 0.15768,
    "h": 315.5
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#651F7E
secondary
#63B148
accent
#E4446E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #651F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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