#651EA7#651EA7

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

Color values

HEX#651EA7
RGBrgb(101, 30, 167)
HSLhsl(271, 70%, 39%)
HSVhsv(271, 82%, 65%)
CMYKcmyk(39.5%, 82%, 0%, 34.5%)
CIE-LABlab(30.61, 55.43, -59.37)
CIE-LCHlch(30.61, 81.23, 313.03°)
OKLaboklab(42.72% 0.1038 -0.1697)
OKLCHoklch(42.72% 0.199 301.5)
XYZxyz(12.8044, 6.4852, 37.1289)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651EA7 #60A71E
analogous
#211EA7 #651EA7 #A71EA4
triadic
#651EA7 #A7651E #1EA765
tetradic
#651EA7 #A7211E #60A71E #1EA4A7
square
#651EA7 #A7211E #60A71E #1EA4A7
split-complementary
#651EA7 #A4A71E #1EA721
monochromatic
#260B3F #461573 #651EA7 #842AD9 #A25DE2

Accessibility & contrast

On white

9.14
#651EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651EA7
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651EA7#FFFFFF#000000##FFFFFF
##651EA71.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#564564
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #651ea7;
/* rgb */ color: rgb(101, 30, 167);
/* oklch */ color: oklch(42.7% 0.199 301.5);
Tailwind
colors: {
  custom: {
    50: '#9864c2',
    500: '#651ea7',
    950: '#000000',
  },
}
SCSS
$custom: #651ea7;
$custom-light: #9864c2;
$custom-dark: #000000;
JSON
{
  "hex": "#651ea7",
  "rgb": {
    "r": 101,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 271.095,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42723,
    "c": 0.19893,
    "h": 301.5
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#651EA7
secondary
#8EC65B
accent
#EC3B91
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #651EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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