#651EB4#651EB4

#651EB4 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.212 H 298.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#651EB4
RGBrgb(101, 30, 180)
HSLhsl(268, 71%, 41%)
HSVhsv(268, 83%, 71%)
CMYKcmyk(43.9%, 83.3%, 0%, 29.4%)
CIE-LABlab(31.78, 58.51, -65.23)
CIE-LCHlch(31.78, 87.63, 311.89°)
OKLaboklab(43.9% 0.0995 -0.1869)
OKLCHoklch(43.9% 0.212 298)
XYZxyz(14.0672, 6.9903, 43.7793)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651EB4 #6DB41E
analogous
#1E22B4 #651EB4 #B01EB4
triadic
#651EB4 #B4651E #1EB465
tetradic
#651EB4 #B41E22 #6DB41E #1EB4B0
square
#651EB4 #B41E22 #6DB41E #1EB4B0
split-complementary
#651EB4 #B4B01E #22B41E
monochromatic
#2A0D4B #481580 #651EB4 #8332DD #A367E6

Accessibility & contrast

On white

8.76
#651EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#651EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651EB4
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651EB4#FFFFFF#000000##FFFFFF
##651EB41.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#504A6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #651eb4;
/* rgb */ color: rgb(101, 30, 180);
/* oklch */ color: oklch(43.9% 0.212 298.0);
Tailwind
colors: {
  custom: {
    50: '#9965cc',
    500: '#651eb4',
    950: '#000000',
  },
}
SCSS
$custom: #651eb4;
$custom-light: #9965cc;
$custom-dark: #000000;
JSON
{
  "hex": "#651eb4",
  "rgb": {
    "r": 101,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 268.4,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.439,
    "c": 0.2117,
    "h": 298
  },
  "luminance": 0.06991
}

Semantic roles & 50–950 ramp

primary
#651EB4
secondary
#9ACB63
accent
#EE3A99
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #651EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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