#651BA1#651BA1

#651BA1 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.196 H 303.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#651BA1
RGBrgb(101, 27, 161)
HSLhsl(273, 71%, 37%)
HSVhsv(273, 83%, 63%)
CMYKcmyk(37.3%, 83.2%, 0%, 36.9%)
CIE-LABlab(29.72, 55.07, -57.19)
CIE-LCHlch(29.72, 79.39, 313.92°)
OKLaboklab(41.95% 0.1079 -0.1632)
OKLCHoklch(41.95% 0.196 303.5)
XYZxyz(12.1903, 6.1238, 34.2511)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651BA1 #57A11B
analogous
#221BA1 #651BA1 #A11B9A
triadic
#651BA1 #A1651B #1BA165
tetradic
#651BA1 #A1221B #57A11B #1B9AA1
square
#651BA1 #A1221B #57A11B #1B9AA1
split-complementary
#651BA1 #9AA11B #1BA122
monochromatic
#230938 #44126D #651BA1 #8624D5 #A354E2

Accessibility & contrast

On white

9.44
#651BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#651BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651BA1
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651BA1#FFFFFF#000000##FFFFFF
##651BA11.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#594160
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #651ba1;
/* rgb */ color: rgb(101, 27, 161);
/* oklch */ color: oklch(41.9% 0.196 303.5);
Tailwind
colors: {
  custom: {
    50: '#9762be',
    500: '#651ba1',
    950: '#000000',
  },
}
SCSS
$custom: #651ba1;
$custom-light: #9762be;
$custom-dark: #000000;
JSON
{
  "hex": "#651ba1",
  "rgb": {
    "r": 101,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 273.134,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41949,
    "c": 0.19566,
    "h": 303.5
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#651BA1
secondary
#86C552
accent
#EE3A8A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #651BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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