#651E8F#651E8F

#651E8F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.175 H 309.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#651E8F
RGBrgb(101, 30, 143)
HSLhsl(278, 65%, 34%)
HSVhsv(278, 79%, 56%)
CMYKcmyk(29.4%, 79%, 0%, 43.9%)
CIE-LABlab(28.59, 49.90, -48.01)
CIE-LCHlch(28.59, 69.25, 316.11°)
OKLaboklab(40.69% 0.1104 -0.1363)
OKLCHoklch(40.69% 0.175 309)
XYZxyz(10.7880, 5.6786, 26.5090)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651E8F #488F1E
analogous
#2D1E8F #651E8F #8F1E81
triadic
#651E8F #8F651E #1E8F65
tetradic
#651E8F #8F2D1E #488F1E #1E818F
square
#651E8F #8F2D1E #488F1E #1E818F
split-complementary
#651E8F #818F1E #1E8F2D
monochromatic
#1E092A #41135C #651E8F #8929C2 #A64EDA

Accessibility & contrast

On white

9.83
#651E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#651E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651E8F
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651E8F#FFFFFF#000000##FFFFFF
##651E8F1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#5F3A56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #651e8f;
/* rgb */ color: rgb(101, 30, 143);
/* oklch */ color: oklch(40.7% 0.175 309.0);
Tailwind
colors: {
  custom: {
    50: '#9563b1',
    500: '#651e8f',
    950: '#000000',
  },
}
SCSS
$custom: #651e8f;
$custom-light: #9563b1;
$custom-dark: #000000;
JSON
{
  "hex": "#651e8f",
  "rgb": {
    "r": 101,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 277.699,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4069,
    "c": 0.1754,
    "h": 309
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#651E8F
secondary
#76BC4C
accent
#E8407E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #651E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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