#651E78#651E78

#651E78 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.9% C 0.153 H 318.2°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#651E78
RGBrgb(101, 30, 120)
HSLhsl(287, 60%, 29%)
HSVhsv(287, 75%, 47%)
CMYKcmyk(15.8%, 75%, 0%, 52.9%)
CIE-LABlab(26.88, 44.91, -36.35)
CIE-LCHlch(26.88, 57.78, 321.02°)
OKLaboklab(38.95% 0.1141 -0.1021)
OKLCHoklch(38.95% 0.153 318.2)
XYZxyz(9.2208, 5.0517, 18.2550)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651E78 #31781E
analogous
#381E78 #651E78 #781E5E
triadic
#651E78 #78651E #1E7865
tetradic
#651E78 #78381E #31781E #1E5E78
square
#651E78 #78381E #31781E #1E5E78
split-complementary
#651E78 #5E781E #1E7838
monochromatic
#150618 #3C1247 #651E78 #8E2AA9 #B141CF

Accessibility & contrast

On white

10.45
#651E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651E78
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651E78#FFFFFF#000000##FFFFFF
##651E781.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#224276
Tritanopia (blue-blind)
#653049
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #651e78;
/* rgb */ color: rgb(101, 30, 120);
/* oklch */ color: oklch(38.9% 0.153 318.2);
Tailwind
colors: {
  custom: {
    50: '#94619f',
    500: '#651e78',
    950: '#000000',
  },
}
SCSS
$custom: #651e78;
$custom-light: #94619f;
$custom-dark: #000000;
JSON
{
  "hex": "#651e78",
  "rgb": {
    "r": 101,
    "g": 30,
    "b": 120
  },
  "hsl": {
    "h": 287.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38945,
    "c": 0.15312,
    "h": 318.2
  },
  "luminance": 0.05051
}

Semantic roles & 50–950 ramp

primary
#651E78
secondary
#5CAC46
accent
#E34566
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #651E78

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

Preview Lab → · Contrast checker → · Palette generator →

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