#651E8A#651E8A

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

Color values

HEX#651E8A
RGBrgb(101, 30, 138)
HSLhsl(279, 64%, 33%)
HSVhsv(279, 78%, 54%)
CMYKcmyk(26.8%, 78.3%, 0%, 45.9%)
CIE-LABlab(28.20, 48.79, -45.54)
CIE-LCHlch(28.20, 66.74, 316.97°)
OKLaboklab(40.29% 0.1114 -0.1291)
OKLCHoklch(40.29% 0.171 310.8)
XYZxyz(10.4177, 5.5305, 24.5585)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651E8A #438A1E
analogous
#2F1E8A #651E8A #8A1E79
triadic
#651E8A #8A651E #1E8A65
tetradic
#651E8A #8A2F1E #438A1E #1E798A
square
#651E8A #8A2F1E #438A1E #1E798A
split-complementary
#651E8A #798A1E #1E8A2F
monochromatic
#1B0825 #401358 #651E8A #8A29BC #A74BD8

Accessibility & contrast

On white

9.97
#651E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651E8A
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651E8A#FFFFFF#000000##FFFFFF
##651E8A1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#034488
Tritanopia (blue-blind)
#603853
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #651e8a;
/* rgb */ color: rgb(101, 30, 138);
/* oklch */ color: oklch(40.3% 0.171 310.8);
Tailwind
colors: {
  custom: {
    50: '#9562ad',
    500: '#651e8a',
    950: '#000000',
  },
}
SCSS
$custom: #651e8a;
$custom-light: #9562ad;
$custom-dark: #000000;
JSON
{
  "hex": "#651e8a",
  "rgb": {
    "r": 101,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 279.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40292,
    "c": 0.17051,
    "h": 310.8
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

primary
#651E8A
secondary
#70BA4A
accent
#E7417A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #651E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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