#651D8C#651D8C

#651D8C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.174 H 310.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#651D8C
RGBrgb(101, 29, 140)
HSLhsl(279, 66%, 33%)
HSVhsv(279, 79%, 55%)
CMYKcmyk(27.9%, 79.3%, 0%, 45.1%)
CIE-LABlab(28.22, 49.61, -46.75)
CIE-LCHlch(28.22, 68.17, 316.70°)
OKLaboklab(40.36% 0.1119 -0.1326)
OKLCHoklch(40.36% 0.174 310.2)
XYZxyz(10.5389, 5.5391, 25.3198)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651D8C #448C1D
analogous
#2E1D8C #651D8C #8C1D7B
triadic
#651D8C #8C651D #1D8C65
tetradic
#651D8C #8C2E1D #448C1D #1D7B8C
square
#651D8C #8C2E1D #448C1D #1D7B8C
split-complementary
#651D8C #7B8C1D #1D8C2E
monochromatic
#1C0827 #401259 #651D8C #8A28BF #A74AD9

Accessibility & contrast

On white

9.96
#651D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#651D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651D8C
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651D8C#FFFFFF#000000##FFFFFF
##651D8C1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#5F3854
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #651d8c;
/* rgb */ color: rgb(101, 29, 140);
/* oklch */ color: oklch(40.4% 0.174 310.2);
Tailwind
colors: {
  custom: {
    50: '#9562ae',
    500: '#651d8c',
    950: '#000000',
  },
}
SCSS
$custom: #651d8c;
$custom-light: #9562ae;
$custom-dark: #000000;
JSON
{
  "hex": "#651d8c",
  "rgb": {
    "r": 101,
    "g": 29,
    "b": 140
  },
  "hsl": {
    "h": 278.919,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40357,
    "c": 0.17352,
    "h": 310.2
  },
  "luminance": 0.05539
}

Semantic roles & 50–950 ramp

primary
#651D8C
secondary
#71BC49
accent
#E93F7B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #651D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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