#651F8F#651F8F

#651F8F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.174 H 308.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#651F8F
RGBrgb(101, 31, 143)
HSLhsl(278, 64%, 34%)
HSVhsv(278, 78%, 56%)
CMYKcmyk(29.4%, 78.3%, 0%, 43.9%)
CIE-LABlab(28.72, 49.52, -47.79)
CIE-LCHlch(28.72, 68.82, 316.01°)
OKLaboklab(40.78% 0.1095 -0.1357)
OKLCHoklch(40.78% 0.174 308.9)
XYZxyz(10.8137, 5.7300, 26.5176)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F8F #498F1F
analogous
#2D1F8F #651F8F #8F1F81
triadic
#651F8F #8F651F #1F8F65
tetradic
#651F8F #8F2D1F #498F1F #1F818F
square
#651F8F #8F2D1F #498F1F #1F818F
split-complementary
#651F8F #818F1F #1F8F2D
monochromatic
#1E092A #41145D #651F8F #892AC1 #A54FD9

Accessibility & contrast

On white

9.79
#651F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651F8F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F8F#FFFFFF#000000##FFFFFF
##651F8F1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#5F3B56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #651f8f;
/* rgb */ color: rgb(101, 31, 143);
/* oklch */ color: oklch(40.8% 0.174 308.9);
Tailwind
colors: {
  custom: {
    50: '#9563b1',
    500: '#651f8f',
    950: '#000000',
  },
}
SCSS
$custom: #651f8f;
$custom-light: #9563b1;
$custom-dark: #000000;
JSON
{
  "hex": "#651f8f",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 277.5,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40784,
    "c": 0.17434,
    "h": 308.9
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#651F8F
secondary
#77BC4E
accent
#E7407F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #651F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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