#651FA6#651FA6

#651FA6 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.197 H 301.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#651FA6
RGBrgb(101, 31, 166)
HSLhsl(271, 69%, 39%)
HSVhsv(271, 81%, 65%)
CMYKcmyk(39.2%, 81.3%, 0%, 34.9%)
CIE-LABlab(30.64, 54.84, -58.71)
CIE-LCHlch(30.64, 80.34, 313.05°)
OKLaboklab(42.72% 0.1034 -0.1678)
OKLCHoklch(42.72% 0.197 301.6)
XYZxyz(12.7381, 6.4998, 36.6525)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651FA6 #60A61F
analogous
#211FA6 #651FA6 #A61FA3
triadic
#651FA6 #A6651F #1FA665
tetradic
#651FA6 #A6211F #60A61F #1FA3A6
square
#651FA6 #A6211F #60A61F #1FA3A6
split-complementary
#651FA6 #A3A61F #1FA621
monochromatic
#260C3F #461572 #651FA6 #842BD7 #A25EE1

Accessibility & contrast

On white

9.13
#651FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#651FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651FA6
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651FA6#FFFFFF#000000##FFFFFF
##651FA61.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#564563
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #651fa6;
/* rgb */ color: rgb(101, 31, 166);
/* oklch */ color: oklch(42.7% 0.197 301.6);
Tailwind
colors: {
  custom: {
    50: '#9764c1',
    500: '#651fa6',
    950: '#000000',
  },
}
SCSS
$custom: #651fa6;
$custom-light: #9764c1;
$custom-dark: #000000;
JSON
{
  "hex": "#651fa6",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 271.111,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42721,
    "c": 0.19706,
    "h": 301.6
  },
  "luminance": 0.065
}

Semantic roles & 50–950 ramp

primary
#651FA6
secondary
#8EC55B
accent
#EB3C91
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #651FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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