#651F96#651F96

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

Color values

HEX#651F96
RGBrgb(101, 31, 150)
HSLhsl(275, 66%, 35%)
HSVhsv(275, 79%, 59%)
CMYKcmyk(32.7%, 79.3%, 0%, 41.2%)
CIE-LABlab(29.28, 51.11, -51.19)
CIE-LCHlch(29.28, 72.34, 314.95°)
OKLaboklab(41.35% 0.1079 -0.1457)
OKLCHoklch(41.35% 0.181 306.5)
XYZxyz(11.3606, 5.9488, 29.3980)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F96 #50961F
analogous
#291F96 #651F96 #961F8B
triadic
#651F96 #96651F #1F9665
tetradic
#651F96 #96291F #50961F #1F8B96
square
#651F96 #96291F #50961F #1F8B96
split-complementary
#651F96 #8B961F #1F9629
monochromatic
#210A31 #431563 #651F96 #8729C9 #A454DC

Accessibility & contrast

On white

9.59
#651F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651F96
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F96#FFFFFF#000000##FFFFFF
##651F961.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#5C3E5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #651f96;
/* rgb */ color: rgb(101, 31, 150);
/* oklch */ color: oklch(41.4% 0.181 306.5);
Tailwind
colors: {
  custom: {
    50: '#9663b6',
    500: '#651f96',
    950: '#000000',
  },
}
SCSS
$custom: #651f96;
$custom-light: #9663b6;
$custom-dark: #000000;
JSON
{
  "hex": "#651f96",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 275.294,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41354,
    "c": 0.18124,
    "h": 306.5
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#651F96
secondary
#7FBF52
accent
#E93F85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #651F96

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

Preview Lab → · Contrast checker → · Palette generator →

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