#651C8D#651C8D

#651C8D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.176 H 309.9°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#651C8D
RGBrgb(101, 28, 141)
HSLhsl(279, 67%, 33%)
HSVhsv(279, 80%, 55%)
CMYKcmyk(28.4%, 80.1%, 0%, 44.7%)
CIE-LABlab(28.17, 50.20, -47.45)
CIE-LCHlch(28.17, 69.08, 316.62°)
OKLaboklab(40.35% 0.1126 -0.1346)
OKLCHoklch(40.35% 0.176 309.9)
XYZxyz(10.5888, 5.5205, 25.7019)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651C8D #448D1C
analogous
#2C1C8D #651C8D #8D1C7C
triadic
#651C8D #8D651C #1C8D65
tetradic
#651C8D #8D2C1C #448D1C #1C7C8D
square
#651C8D #8D2C1C #448D1C #1C7C8D
split-complementary
#651C8D #7C8D1C #1C8D2C
monochromatic
#1C0827 #40125A #651C8D #8A26C0 #A749DB

Accessibility & contrast

On white

9.98
#651C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#651C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651C8D
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651C8D#FFFFFF#000000##FFFFFF
##651C8D1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#5F3854
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #651c8d;
/* rgb */ color: rgb(101, 28, 141);
/* oklch */ color: oklch(40.3% 0.176 309.9);
Tailwind
colors: {
  custom: {
    50: '#9562af',
    500: '#651c8d',
    950: '#000000',
  },
}
SCSS
$custom: #651c8d;
$custom-light: #9562af;
$custom-dark: #000000;
JSON
{
  "hex": "#651c8d",
  "rgb": {
    "r": 101,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 278.761,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40347,
    "c": 0.17551,
    "h": 309.9
  },
  "luminance": 0.0552
}

Semantic roles & 50–950 ramp

primary
#651C8D
secondary
#71BD48
accent
#EA3E7B
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #651C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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