#651A9B#651A9B

#651A9B is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.191 H 305.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#651A9B
RGBrgb(101, 26, 155)
HSLhsl(275, 71%, 35%)
HSVhsv(275, 83%, 61%)
CMYKcmyk(34.8%, 83.2%, 0%, 39.2%)
CIE-LABlab(29.09, 54.04, -54.57)
CIE-LCHlch(29.09, 76.80, 314.72°)
OKLaboklab(41.35% 0.1104 -0.1556)
OKLCHoklch(41.35% 0.191 305.4)
XYZxyz(11.6513, 5.8721, 31.5236)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651A9B #509B1A
analogous
#251A9B #651A9B #9B1A90
triadic
#651A9B #9B651A #1A9B65
tetradic
#651A9B #9B251A #509B1A #1A909B
square
#651A9B #9B251A #509B1A #1A909B
split-complementary
#651A9B #909B1A #1A9B25
monochromatic
#210832 #431167 #651A9B #8723CF #A44EE1

Accessibility & contrast

On white

9.66
#651A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#651A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651A9B
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651A9B#FFFFFF#000000##FFFFFF
##651A9B1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.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: #651a9b;
/* rgb */ color: rgb(101, 26, 155);
/* oklch */ color: oklch(41.3% 0.191 305.4);
Tailwind
colors: {
  custom: {
    50: '#9762b9',
    500: '#651a9b',
    950: '#000000',
  },
}
SCSS
$custom: #651a9b;
$custom-light: #9762b9;
$custom-dark: #000000;
JSON
{
  "hex": "#651a9b",
  "rgb": {
    "r": 101,
    "g": 26,
    "b": 155
  },
  "hsl": {
    "h": 274.884,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41348,
    "c": 0.19077,
    "h": 305.4
  },
  "luminance": 0.05872
}

Semantic roles & 50–950 ramp

primary
#651A9B
secondary
#7FC44D
accent
#EE3A85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #651A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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