#651D7C#651D7C

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

Color values

HEX#651D7C
RGBrgb(101, 29, 124)
HSLhsl(285, 62%, 30%)
HSVhsv(285, 77%, 49%)
CMYKcmyk(18.5%, 76.6%, 0%, 51.4%)
CIE-LABlab(27.02, 46.15, -38.66)
CIE-LCHlch(27.02, 60.20, 320.05°)
OKLaboklab(39.13% 0.1147 -0.1088)
OKLCHoklch(39.13% 0.158 316.5)
XYZxyz(9.4437, 5.1011, 19.5520)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651D7C #347C1D
analogous
#361D7C #651D7C #7C1D63
triadic
#651D7C #7C651D #1D7C65
tetradic
#651D7C #7C361D #347C1D #1D637C
square
#651D7C #7C361D #347C1D #1D637C
split-complementary
#651D7C #637C1D #1D7C36
monochromatic
#140619 #3D114A #651D7C #8D29AE #AF41D3

Accessibility & contrast

On white

10.40
#651D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##651D7C#FFFFFF#000000##FFFFFF
##651D7C1.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)
#003C7F
Deuteranopia (green-blind)
#1D427A
Tritanopia (blue-blind)
#64314B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #651d7c;
/* rgb */ color: rgb(101, 29, 124);
/* oklch */ color: oklch(39.1% 0.158 316.5);
Tailwind
colors: {
  custom: {
    50: '#9461a2',
    500: '#651d7c',
    950: '#000000',
  },
}
SCSS
$custom: #651d7c;
$custom-light: #9461a2;
$custom-dark: #000000;
JSON
{
  "hex": "#651d7c",
  "rgb": {
    "r": 101,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 285.474,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.39133,
    "c": 0.15814,
    "h": 316.5
  },
  "luminance": 0.05101
}

Semantic roles & 50–950 ramp

primary
#651D7C
secondary
#5FB045
accent
#E5436A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #651D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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