#651B7F#651B7F

#651B7F is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.163 H 315.4°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#651B7F
RGBrgb(101, 27, 127)
HSLhsl(284, 65%, 30%)
HSVhsv(284, 79%, 50%)
CMYKcmyk(20.5%, 78.7%, 0%, 50.2%)
CIE-LABlab(26.97, 47.55, -40.64)
CIE-LCHlch(26.97, 62.54, 319.48°)
OKLaboklab(39.17% 0.1162 -0.1146)
OKLCHoklch(39.17% 0.163 315.4)
XYZxyz(9.5889, 5.0832, 20.5506)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651B7F #357F1B
analogous
#331B7F #651B7F #7F1B67
triadic
#651B7F #7F651B #1B7F65
tetradic
#651B7F #7F331B #357F1B #1B677F
square
#651B7F #7F331B #357F1B #1B677F
split-complementary
#651B7F #677F1B #1B7F33
monochromatic
#15061A #3D104D #651B7F #8D26B1 #AF3ED6

Accessibility & contrast

On white

10.41
#651B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651B7F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651B7F#FFFFFF#000000##FFFFFF
##651B7F1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#18427D
Tritanopia (blue-blind)
#63324C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #651b7f;
/* rgb */ color: rgb(101, 27, 127);
/* oklch */ color: oklch(39.2% 0.163 315.4);
Tailwind
colors: {
  custom: {
    50: '#9560a5',
    500: '#651b7f',
    950: '#000000',
  },
}
SCSS
$custom: #651b7f;
$custom-light: #9560a5;
$custom-dark: #000000;
JSON
{
  "hex": "#651b7f",
  "rgb": {
    "r": 101,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 284.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39166,
    "c": 0.16325,
    "h": 315.4
  },
  "luminance": 0.05083
}

Semantic roles & 50–950 ramp

primary
#651B7F
secondary
#60B343
accent
#E8406C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #651B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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