#651D7B#651D7B

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

Color values

HEX#651D7B
RGBrgb(101, 29, 123)
HSLhsl(286, 62%, 30%)
HSVhsv(286, 76%, 48%)
CMYKcmyk(17.9%, 76.4%, 0%, 51.8%)
CIE-LABlab(26.95, 45.94, -38.14)
CIE-LCHlch(26.95, 59.71, 320.30°)
OKLaboklab(39.06% 0.1149 -0.1073)
OKLCHoklch(39.06% 0.157 316.9)
XYZxyz(9.3808, 5.0759, 19.2207)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651D7B #337B1D
analogous
#361D7B #651D7B #7B1D62
triadic
#651D7B #7B651D #1D7B65
tetradic
#651D7B #7B361D #337B1D #1D627B
square
#651D7B #7B361D #337B1D #1D627B
split-complementary
#651D7B #627B1D #1D7B36
monochromatic
#140619 #3C1149 #651D7B #8E29AD #B040D2

Accessibility & contrast

On white

10.42
#651D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#651D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651D7B
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651D7B#FFFFFF#000000##FFFFFF
##651D7B1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#1E4279
Tritanopia (blue-blind)
#64314A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #651d7b;
/* rgb */ color: rgb(101, 29, 123);
/* oklch */ color: oklch(39.1% 0.157 316.9);
Tailwind
colors: {
  custom: {
    50: '#9461a2',
    500: '#651d7b',
    950: '#000000',
  },
}
SCSS
$custom: #651d7b;
$custom-light: #9461a2;
$custom-dark: #000000;
JSON
{
  "hex": "#651d7b",
  "rgb": {
    "r": 101,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 285.957,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3906,
    "c": 0.1572,
    "h": 316.9
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#651D7B
secondary
#5EAF45
accent
#E54369
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #651D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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