#651B96#651B96

#651B96 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.185 H 306.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#651B96
RGBrgb(101, 27, 150)
HSLhsl(276, 69%, 35%)
HSVhsv(276, 82%, 59%)
CMYKcmyk(32.7%, 82%, 0%, 41.2%)
CIE-LABlab(28.78, 52.57, -52.01)
CIE-LCHlch(28.78, 73.95, 315.31°)
OKLaboklab(41% 0.1111 -0.148)
OKLCHoklch(41% 0.185 306.9)
XYZxyz(11.2626, 5.7527, 29.3653)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651B96 #4C961B
analogous
#281B96 #651B96 #961B89
triadic
#651B96 #96651B #1B9665
tetradic
#651B96 #96281B #4C961B #1B8996
square
#651B96 #96281B #4C961B #1B8996
split-complementary
#651B96 #89961B #1B9628
monochromatic
#1F082E #421262 #651B96 #8824CA #A54DDF

Accessibility & contrast

On white

9.76
#651B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#651B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651B96
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651B96#FFFFFF#000000##FFFFFF
##651B961.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#5C3C59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #651b96;
/* rgb */ color: rgb(101, 27, 150);
/* oklch */ color: oklch(41.0% 0.185 306.9);
Tailwind
colors: {
  custom: {
    50: '#9662b6',
    500: '#651b96',
    950: '#000000',
  },
}
SCSS
$custom: #651b96;
$custom-light: #9662b6;
$custom-dark: #000000;
JSON
{
  "hex": "#651b96",
  "rgb": {
    "r": 101,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 276.098,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41002,
    "c": 0.1851,
    "h": 306.9
  },
  "luminance": 0.05753
}

Semantic roles & 50–950 ramp

primary
#651B96
secondary
#7AC14C
accent
#EC3B82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #651B96

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

Preview Lab → · Contrast checker → · Palette generator →

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