#651E8B#651E8B

#651E8B is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.171 H 310.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#651E8B
RGBrgb(101, 30, 139)
HSLhsl(279, 64%, 33%)
HSVhsv(279, 78%, 55%)
CMYKcmyk(27.3%, 78.4%, 0%, 45.5%)
CIE-LABlab(28.27, 49.01, -46.04)
CIE-LCHlch(28.27, 67.24, 316.79°)
OKLaboklab(40.37% 0.1112 -0.1305)
OKLCHoklch(40.37% 0.171 310.4)
XYZxyz(10.4904, 5.5596, 24.9416)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651E8B #448B1E
analogous
#2F1E8B #651E8B #8B1E7A
triadic
#651E8B #8B651E #1E8B65
tetradic
#651E8B #8B2F1E #448B1E #1E7A8B
square
#651E8B #8B2F1E #448B1E #1E7A8B
split-complementary
#651E8B #7A8B1E #1E8B2F
monochromatic
#1C0826 #401359 #651E8B #8A29BD #A74BD8

Accessibility & contrast

On white

9.94
#651E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651E8B
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651E8B#FFFFFF#000000##FFFFFF
##651E8B1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#004489
Tritanopia (blue-blind)
#603854
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #651e8b;
/* rgb */ color: rgb(101, 30, 139);
/* oklch */ color: oklch(40.4% 0.171 310.4);
Tailwind
colors: {
  custom: {
    50: '#9562ae',
    500: '#651e8b',
    950: '#000000',
  },
}
SCSS
$custom: #651e8b;
$custom-light: #9562ae;
$custom-dark: #000000;
JSON
{
  "hex": "#651e8b",
  "rgb": {
    "r": 101,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 279.083,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4037,
    "c": 0.17149,
    "h": 310.4
  },
  "luminance": 0.05559
}

Semantic roles & 50–950 ramp

primary
#651E8B
secondary
#71BB4A
accent
#E7407B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #651E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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