#651D8E#651D8E

#651D8E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.175 H 309.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#651D8E
RGBrgb(101, 29, 142)
HSLhsl(278, 66%, 34%)
HSVhsv(278, 80%, 56%)
CMYKcmyk(28.9%, 79.6%, 0%, 44.3%)
CIE-LABlab(28.38, 50.06, -47.73)
CIE-LCHlch(28.38, 69.17, 316.36°)
OKLaboklab(40.52% 0.1115 -0.1355)
OKLCHoklch(40.52% 0.175 309.4)
XYZxyz(10.6877, 5.5986, 26.1036)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651D8E #468E1D
analogous
#2C1D8E #651D8E #8E1D7E
triadic
#651D8E #8E651D #1D8E65
tetradic
#651D8E #8E2C1D #468E1D #1D7E8E
square
#651D8E #8E2C1D #468E1D #1D7E8E
split-complementary
#651D8E #7E8E1D #1D8E2C
monochromatic
#1D0828 #41135B #651D8E #8927C1 #A64BDA

Accessibility & contrast

On white

9.91
#651D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#651D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651D8E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651D8E#FFFFFF#000000##FFFFFF
##651D8E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#5F3955
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #651d8e;
/* rgb */ color: rgb(101, 29, 142);
/* oklch */ color: oklch(40.5% 0.175 309.4);
Tailwind
colors: {
  custom: {
    50: '#9562b0',
    500: '#651d8e',
    950: '#000000',
  },
}
SCSS
$custom: #651d8e;
$custom-light: #9562b0;
$custom-dark: #000000;
JSON
{
  "hex": "#651d8e",
  "rgb": {
    "r": 101,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 278.23,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40517,
    "c": 0.17546,
    "h": 309.4
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#651D8E
secondary
#74BD4A
accent
#E93F7D
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #651D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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