#651B97#651B97

#651B97 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.186 H 306.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#651B97
RGBrgb(101, 27, 151)
HSLhsl(276, 70%, 35%)
HSVhsv(276, 82%, 59%)
CMYKcmyk(33.1%, 82.1%, 0%, 40.8%)
CIE-LABlab(28.86, 52.79, -52.49)
CIE-LCHlch(28.86, 74.45, 315.17°)
OKLaboklab(41.09% 0.1108 -0.1494)
OKLCHoklch(41.09% 0.186 306.6)
XYZxyz(11.3434, 5.7851, 29.7912)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651B97 #4D971B
analogous
#271B97 #651B97 #971B8B
triadic
#651B97 #97651B #1B9765
tetradic
#651B97 #97271B #4D971B #1B8B97
square
#651B97 #97271B #4D971B #1B8B97
split-complementary
#651B97 #8B971B #1B9727
monochromatic
#20082F #421263 #651B97 #8824CB #A44DDF

Accessibility & contrast

On white

9.74
#651B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#651B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651B97
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651B97#FFFFFF#000000##FFFFFF
##651B971.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.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: #651b97;
/* rgb */ color: rgb(101, 27, 151);
/* oklch */ color: oklch(41.1% 0.186 306.6);
Tailwind
colors: {
  custom: {
    50: '#9662b6',
    500: '#651b97',
    950: '#000000',
  },
}
SCSS
$custom: #651b97;
$custom-light: #9662b6;
$custom-dark: #000000;
JSON
{
  "hex": "#651b97",
  "rgb": {
    "r": 101,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 275.806,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41087,
    "c": 0.18606,
    "h": 306.6
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#651B97
secondary
#7CC14C
accent
#EC3B83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #651B97

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

Preview Lab → · Contrast checker → · Palette generator →

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