#651D8F#651D8F

#651D8F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.176 H 309.1°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#651D8F
RGBrgb(101, 29, 143)
HSLhsl(278, 66%, 34%)
HSVhsv(278, 80%, 56%)
CMYKcmyk(29.4%, 79.7%, 0%, 43.9%)
CIE-LABlab(28.46, 50.28, -48.22)
CIE-LCHlch(28.46, 69.67, 316.20°)
OKLaboklab(40.6% 0.1113 -0.1369)
OKLCHoklch(40.6% 0.176 309.1)
XYZxyz(10.7631, 5.6288, 26.5007)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651D8F #478F1D
analogous
#2C1D8F #651D8F #8F1D80
triadic
#651D8F #8F651D #1D8F65
tetradic
#651D8F #8F2C1D #478F1D #1D808F
square
#651D8F #8F2C1D #478F1D #1D808F
split-complementary
#651D8F #808F1D #1D8F2C
monochromatic
#1D0829 #41135C #651D8F #8927C2 #A64CDB

Accessibility & contrast

On white

9.88
#651D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#651D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651D8F
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651D8F#FFFFFF#000000##FFFFFF
##651D8F1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#5F3A56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #651d8f;
/* rgb */ color: rgb(101, 29, 143);
/* oklch */ color: oklch(40.6% 0.176 309.1);
Tailwind
colors: {
  custom: {
    50: '#9662b1',
    500: '#651d8f',
    950: '#000000',
  },
}
SCSS
$custom: #651d8f;
$custom-light: #9662b1;
$custom-dark: #000000;
JSON
{
  "hex": "#651d8f",
  "rgb": {
    "r": 101,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 277.895,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40598,
    "c": 0.17643,
    "h": 309.1
  },
  "luminance": 0.05629
}

Semantic roles & 50–950 ramp

primary
#651D8F
secondary
#75BD4B
accent
#E93F7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #651D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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