#651B78#651B78

#651B78 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.157 H 318.4°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#651B78
RGBrgb(101, 27, 120)
HSLhsl(288, 63%, 29%)
HSVhsv(288, 78%, 47%)
CMYKcmyk(15.8%, 77.5%, 0%, 52.9%)
CIE-LABlab(26.47, 46.09, -37.01)
CIE-LCHlch(26.47, 59.11, 321.23°)
OKLaboklab(38.65% 0.1172 -0.104)
OKLCHoklch(38.65% 0.157 318.4)
XYZxyz(9.1485, 4.9071, 18.2309)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651B78 #2E781B
analogous
#371B78 #651B78 #781B5D
triadic
#651B78 #78651B #1B7865
tetradic
#651B78 #78371B #2E781B #1B5D78
square
#651B78 #78371B #2E781B #1B5D78
split-complementary
#651B78 #5D781B #1B7837
monochromatic
#150619 #3B1046 #651B78 #8F26AA #B43BD3

Accessibility & contrast

On white

10.60
#651B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#651B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651B78
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651B78#FFFFFF#000000##FFFFFF
##651B781.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#204176
Tritanopia (blue-blind)
#652E48
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #651b78;
/* rgb */ color: rgb(101, 27, 120);
/* oklch */ color: oklch(38.7% 0.157 318.4);
Tailwind
colors: {
  custom: {
    50: '#94609f',
    500: '#651b78',
    950: '#000000',
  },
}
SCSS
$custom: #651b78;
$custom-light: #94609f;
$custom-dark: #000000;
JSON
{
  "hex": "#651b78",
  "rgb": {
    "r": 101,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 287.742,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38651,
    "c": 0.1567,
    "h": 318.4
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#651B78
secondary
#58AC43
accent
#E64163
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #651B78

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

Preview Lab → · Contrast checker → · Palette generator →

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