#651EA8#651EA8

#651EA8 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.200 H 301.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#651EA8
RGBrgb(101, 30, 168)
HSLhsl(271, 70%, 39%)
HSVhsv(271, 82%, 66%)
CMYKcmyk(39.9%, 82.1%, 0%, 34.1%)
CIE-LABlab(30.69, 55.67, -59.83)
CIE-LCHlch(30.69, 81.72, 312.94°)
OKLaboklab(42.81% 0.1035 -0.171)
OKLCHoklch(42.81% 0.2 301.2)
XYZxyz(12.8972, 6.5223, 37.6176)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651EA8 #61A81E
analogous
#201EA8 #651EA8 #A81EA6
triadic
#651EA8 #A8651E #1EA865
tetradic
#651EA8 #A8201E #61A81E #1EA6A8
square
#651EA8 #A8201E #61A81E #1EA6A8
split-complementary
#651EA8 #A6A81E #1EA820
monochromatic
#270B40 #461574 #651EA8 #842AD9 #A25EE2

Accessibility & contrast

On white

9.11
#651EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651EA8
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651EA8#FFFFFF#000000##FFFFFF
##651EA81.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#564564
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #651ea8;
/* rgb */ color: rgb(101, 30, 168);
/* oklch */ color: oklch(42.8% 0.200 301.2);
Tailwind
colors: {
  custom: {
    50: '#9864c3',
    500: '#651ea8',
    950: '#000000',
  },
}
SCSS
$custom: #651ea8;
$custom-light: #9864c3;
$custom-dark: #000000;
JSON
{
  "hex": "#651ea8",
  "rgb": {
    "r": 101,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 270.87,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42812,
    "c": 0.19991,
    "h": 301.2
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#651EA8
secondary
#8FC75B
accent
#ED3B91
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #651EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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