#651EA6#651EA6

#651EA6 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.6% C 0.198 H 301.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#651EA6
RGBrgb(101, 30, 166)
HSLhsl(271, 69%, 38%)
HSVhsv(271, 82%, 65%)
CMYKcmyk(39.2%, 81.9%, 0%, 34.9%)
CIE-LABlab(30.52, 55.20, -58.91)
CIE-LCHlch(30.52, 80.73, 313.13°)
OKLaboklab(42.64% 0.1041 -0.1683)
OKLCHoklch(42.64% 0.198 301.7)
XYZxyz(12.7124, 6.4484, 36.6439)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651EA6 #5FA61E
analogous
#211EA6 #651EA6 #A61EA3
triadic
#651EA6 #A6651E #1EA665
tetradic
#651EA6 #A6211E #5FA61E #1EA3A6
square
#651EA6 #A6211E #5FA61E #1EA3A6
split-complementary
#651EA6 #A3A61E #1EA621
monochromatic
#260B3E #451572 #651EA6 #8429D8 #A25DE2

Accessibility & contrast

On white

9.17
#651EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#651EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651EA6
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651EA6#FFFFFF#000000##FFFFFF
##651EA61.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #651ea6;
/* rgb */ color: rgb(101, 30, 166);
/* oklch */ color: oklch(42.6% 0.198 301.7);
Tailwind
colors: {
  custom: {
    50: '#9864c1',
    500: '#651ea6',
    950: '#000000',
  },
}
SCSS
$custom: #651ea6;
$custom-light: #9864c1;
$custom-dark: #000000;
JSON
{
  "hex": "#651ea6",
  "rgb": {
    "r": 101,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 271.324,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42635,
    "c": 0.19794,
    "h": 301.7
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#651EA6
secondary
#8EC65A
accent
#EC3C90
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #651EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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