#651E97#651E97

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

Color values

HEX#651E97
RGBrgb(101, 30, 151)
HSLhsl(275, 67%, 35%)
HSVhsv(275, 80%, 59%)
CMYKcmyk(33.1%, 80.1%, 0%, 40.8%)
CIE-LABlab(29.23, 51.72, -51.88)
CIE-LCHlch(29.23, 73.26, 314.91°)
OKLaboklab(41.35% 0.1084 -0.1477)
OKLCHoklch(41.35% 0.183 306.3)
XYZxyz(11.4158, 5.9297, 29.8153)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651E97 #50971E
analogous
#291E97 #651E97 #971E8C
triadic
#651E97 #97651E #1E9765
tetradic
#651E97 #97291E #50971E #1E8C97
square
#651E97 #97291E #50971E #1E8C97
split-complementary
#651E97 #8C971E #1E9729
monochromatic
#210A31 #431464 #651E97 #8728CA #A453DD

Accessibility & contrast

On white

9.61
#651E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#651E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651E97
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651E97#FFFFFF#000000##FFFFFF
##651E971.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#5C3E5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #651e97;
/* rgb */ color: rgb(101, 30, 151);
/* oklch */ color: oklch(41.3% 0.183 306.3);
Tailwind
colors: {
  custom: {
    50: '#9663b6',
    500: '#651e97',
    950: '#000000',
  },
}
SCSS
$custom: #651e97;
$custom-light: #9663b6;
$custom-dark: #000000;
JSON
{
  "hex": "#651e97",
  "rgb": {
    "r": 101,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 275.207,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41346,
    "c": 0.18323,
    "h": 306.3
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#651E97
secondary
#7FC051
accent
#EA3E85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #651E97

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

Preview Lab → · Contrast checker → · Palette generator →

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