#651B9B#651B9B

#651B9B is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.190 H 305.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#651B9B
RGBrgb(101, 27, 155)
HSLhsl(275, 70%, 36%)
HSVhsv(275, 83%, 61%)
CMYKcmyk(34.8%, 82.6%, 0%, 39.2%)
CIE-LABlab(29.20, 53.70, -54.38)
CIE-LCHlch(29.20, 76.43, 314.64°)
OKLaboklab(41.43% 0.1097 -0.155)
OKLCHoklch(41.43% 0.19 305.3)
XYZxyz(11.6738, 5.9172, 31.5311)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651B9B #519B1B
analogous
#251B9B #651B9B #9B1B91
triadic
#651B9B #9B651B #1B9B65
tetradic
#651B9B #9B251B #519B1B #1B919B
square
#651B9B #9B251B #519B1B #1B919B
split-complementary
#651B9B #919B1B #1B9B25
monochromatic
#210933 #431267 #651B9B #8724CF #A350E0

Accessibility & contrast

On white

9.62
#651B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#651B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651B9B
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651B9B#FFFFFF#000000##FFFFFF
##651B9B1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#5B3E5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #651b9b;
/* rgb */ color: rgb(101, 27, 155);
/* oklch */ color: oklch(41.4% 0.190 305.3);
Tailwind
colors: {
  custom: {
    50: '#9762b9',
    500: '#651b9b',
    950: '#000000',
  },
}
SCSS
$custom: #651b9b;
$custom-light: #9762b9;
$custom-dark: #000000;
JSON
{
  "hex": "#651b9b",
  "rgb": {
    "r": 101,
    "g": 27,
    "b": 155
  },
  "hsl": {
    "h": 274.688,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41428,
    "c": 0.18989,
    "h": 305.3
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#651B9B
secondary
#80C34F
accent
#ED3B86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #651B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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