#651B9E#651B9E

#651B9E is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.7% C 0.193 H 304.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#651B9E
RGBrgb(101, 27, 158)
HSLhsl(274, 71%, 36%)
HSVhsv(274, 83%, 62%)
CMYKcmyk(36.1%, 82.9%, 0%, 38%)
CIE-LABlab(29.46, 54.38, -55.79)
CIE-LCHlch(29.46, 77.91, 314.27°)
OKLaboklab(41.69% 0.1088 -0.1592)
OKLCHoklch(41.69% 0.193 304.4)
XYZxyz(11.9289, 6.0192, 32.8745)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651B9E #549E1B
analogous
#241B9E #651B9E #9E1B96
triadic
#651B9E #9E651B #1B9E65
tetradic
#651B9E #9E241B #549E1B #1B969E
square
#651B9E #9E241B #549E1B #1B969E
split-complementary
#651B9E #969E1B #1B9E24
monochromatic
#220935 #44126A #651B9E #8624D2 #A352E1

Accessibility & contrast

On white

9.53
#651B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#651B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651B9E
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651B9E#FFFFFF#000000##FFFFFF
##651B9E1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#5A3F5E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #651b9e;
/* rgb */ color: rgb(101, 27, 158);
/* oklch */ color: oklch(41.7% 0.193 304.4);
Tailwind
colors: {
  custom: {
    50: '#9762bc',
    500: '#651b9e',
    950: '#000000',
  },
}
SCSS
$custom: #651b9e;
$custom-light: #9762bc;
$custom-dark: #000000;
JSON
{
  "hex": "#651b9e",
  "rgb": {
    "r": 101,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 273.893,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41687,
    "c": 0.19277,
    "h": 304.4
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#651B9E
secondary
#83C451
accent
#EE3A88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #651B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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