#651786#651786

#651786 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.174 H 312.9°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#651786
RGBrgb(101, 23, 134)
HSLhsl(282, 71%, 31%)
HSVhsv(282, 83%, 53%)
CMYKcmyk(24.6%, 82.8%, 0%, 47.5%)
CIE-LABlab(27.02, 50.42, -44.95)
CIE-LCHlch(27.02, 67.55, 318.28°)
OKLaboklab(39.37% 0.1183 -0.1273)
OKLCHoklch(39.37% 0.174 312.9)
XYZxyz(9.9755, 5.1010, 23.0087)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651786 #388617
analogous
#2D1786 #651786 #86176F
triadic
#651786 #866517 #178665
tetradic
#651786 #862D17 #388617 #176F86
square
#651786 #862D17 #388617 #176F86
split-complementary
#651786 #6F8617 #17862D
monochromatic
#16051E #3E0E52 #651786 #8C20BA #AD3ADD

Accessibility & contrast

On white

10.40
#651786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#651786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651786
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651786#FFFFFF#000000##FFFFFF
##6517861.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#034184
Tritanopia (blue-blind)
#61334F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #651786;
/* rgb */ color: rgb(101, 23, 134);
/* oklch */ color: oklch(39.4% 0.174 312.9);
Tailwind
colors: {
  custom: {
    50: '#955faa',
    500: '#651786',
    950: '#000000',
  },
}
SCSS
$custom: #651786;
$custom-light: #955faa;
$custom-dark: #000000;
JSON
{
  "hex": "#651786",
  "rgb": {
    "r": 101,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 282.162,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39369,
    "c": 0.17377,
    "h": 312.9
  },
  "luminance": 0.05101
}

Semantic roles & 50–950 ramp

primary
#651786
secondary
#63BA3F
accent
#ED3A70
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #651786

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

Preview Lab → · Contrast checker → · Palette generator →

#651786 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva