#651B7E#651B7E

#651B7E is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.162 H 315.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#651B7E
RGBrgb(101, 27, 126)
HSLhsl(285, 65%, 30%)
HSVhsv(285, 79%, 49%)
CMYKcmyk(19.8%, 78.6%, 0%, 50.6%)
CIE-LABlab(26.90, 47.33, -40.12)
CIE-LCHlch(26.90, 62.05, 319.71°)
OKLaboklab(39.09% 0.1164 -0.1131)
OKLCHoklch(39.09% 0.162 315.8)
XYZxyz(9.5241, 5.0573, 20.2091)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651B7E #347E1B
analogous
#331B7E #651B7E #7E1B66
triadic
#651B7E #7E651B #1B7E65
tetradic
#651B7E #7E331B #347E1B #1B667E
square
#651B7E #7E331B #347E1B #1B667E
split-complementary
#651B7E #667E1B #1B7E33
monochromatic
#140519 #3D104C #651B7E #8D26B0 #AF3ED6

Accessibility & contrast

On white

10.44
#651B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#651B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651B7E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651B7E#FFFFFF#000000##FFFFFF
##651B7E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#19427C
Tritanopia (blue-blind)
#63314C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #651b7e;
/* rgb */ color: rgb(101, 27, 126);
/* oklch */ color: oklch(39.1% 0.162 315.8);
Tailwind
colors: {
  custom: {
    50: '#9560a4',
    500: '#651b7e',
    950: '#000000',
  },
}
SCSS
$custom: #651b7e;
$custom-light: #9560a4;
$custom-dark: #000000;
JSON
{
  "hex": "#651b7e",
  "rgb": {
    "r": 101,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 284.848,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.39091,
    "c": 0.16231,
    "h": 315.8
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#651B7E
secondary
#5FB243
accent
#E8406A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #651B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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