#651A97#651A97

#651A97 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.0% C 0.187 H 306.6°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#651A97
RGBrgb(101, 26, 151)
HSLhsl(276, 71%, 35%)
HSVhsv(276, 83%, 59%)
CMYKcmyk(33.1%, 82.8%, 0%, 40.8%)
CIE-LABlab(28.75, 53.13, -52.68)
CIE-LCHlch(28.75, 74.82, 315.25°)
OKLaboklab(41.01% 0.1116 -0.15)
OKLCHoklch(41.01% 0.187 306.6)
XYZxyz(11.3209, 5.7400, 29.7837)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651A97 #4C971A
analogous
#271A97 #651A97 #971A8B
triadic
#651A97 #97651A #1A9765
tetradic
#651A97 #97271A #4C971A #1A8B97
square
#651A97 #97271A #4C971A #1A8B97
split-complementary
#651A97 #8B971A #1A9727
monochromatic
#1F082F #421163 #651A97 #8823CB #A54BE0

Accessibility & contrast

On white

9.78
#651A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651A97
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651A97#FFFFFF#000000##FFFFFF
##651A971.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#5C3C5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #651a97;
/* rgb */ color: rgb(101, 26, 151);
/* oklch */ color: oklch(41.0% 0.187 306.6);
Tailwind
colors: {
  custom: {
    50: '#9661b6',
    500: '#651a97',
    950: '#000000',
  },
}
SCSS
$custom: #651a97;
$custom-light: #9661b6;
$custom-dark: #000000;
JSON
{
  "hex": "#651a97",
  "rgb": {
    "r": 101,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 276,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41006,
    "c": 0.18696,
    "h": 306.6
  },
  "luminance": 0.0574
}

Semantic roles & 50–950 ramp

primary
#651A97
secondary
#7AC24B
accent
#ED3A82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #651A97

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

Preview Lab → · Contrast checker → · Palette generator →

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