#651D78#651D78

#651D78 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.154 H 318.3°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#651D78
RGBrgb(101, 29, 120)
HSLhsl(287, 61%, 29%)
HSVhsv(287, 76%, 47%)
CMYKcmyk(15.8%, 75.8%, 0%, 52.9%)
CIE-LABlab(26.74, 45.31, -36.58)
CIE-LCHlch(26.74, 58.23, 321.09°)
OKLaboklab(38.84% 0.1152 -0.1027)
OKLCHoklch(38.84% 0.154 318.3)
XYZxyz(9.1959, 5.0019, 18.2467)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651D78 #30781D
analogous
#381D78 #651D78 #781D5E
triadic
#651D78 #78651D #1D7865
tetradic
#651D78 #78381D #30781D #1D5E78
square
#651D78 #78381D #30781D #1D5E78
split-complementary
#651D78 #5E781D #1D7838
monochromatic
#150619 #3C1147 #651D78 #8E29A9 #B23FD1

Accessibility & contrast

On white

10.50
#651D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#651D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651D78
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651D78#FFFFFF#000000##FFFFFF
##651D781.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#214176
Tritanopia (blue-blind)
#652F49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #651d78;
/* rgb */ color: rgb(101, 29, 120);
/* oklch */ color: oklch(38.8% 0.154 318.3);
Tailwind
colors: {
  custom: {
    50: '#94619f',
    500: '#651d78',
    950: '#000000',
  },
}
SCSS
$custom: #651d78;
$custom-light: #94619f;
$custom-dark: #000000;
JSON
{
  "hex": "#651d78",
  "rgb": {
    "r": 101,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 287.473,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38844,
    "c": 0.15434,
    "h": 318.3
  },
  "luminance": 0.05001
}

Semantic roles & 50–950 ramp

primary
#651D78
secondary
#5AAC45
accent
#E44465
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #651D78

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

Preview Lab → · Contrast checker → · Palette generator →

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