#651B8E#651B8E

#651B8E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.177 H 309.6°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#651B8E
RGBrgb(101, 27, 142)
HSLhsl(279, 68%, 33%)
HSVhsv(279, 81%, 56%)
CMYKcmyk(28.9%, 81%, 0%, 44.3%)
CIE-LABlab(28.12, 50.79, -48.14)
CIE-LCHlch(28.12, 69.98, 316.53°)
OKLaboklab(40.34% 0.1132 -0.1367)
OKLCHoklch(40.34% 0.177 309.6)
XYZxyz(10.6403, 5.5038, 26.0878)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651B8E #448E1B
analogous
#2C1B8E #651B8E #8E1B7D
triadic
#651B8E #8E651B #1B8E65
tetradic
#651B8E #8E2C1B #448E1B #1B7D8E
square
#651B8E #8E2C1B #448E1B #1B7D8E
split-complementary
#651B8E #7D8E1B #1B8E2C
monochromatic
#1C0727 #40115B #651B8E #8A25C1 #A747DC

Accessibility & contrast

On white

10.00
#651B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#651B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651B8E
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651B8E#FFFFFF#000000##FFFFFF
##651B8E1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#5F3855
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #651b8e;
/* rgb */ color: rgb(101, 27, 142);
/* oklch */ color: oklch(40.3% 0.177 309.6);
Tailwind
colors: {
  custom: {
    50: '#9661b0',
    500: '#651b8e',
    950: '#000000',
  },
}
SCSS
$custom: #651b8e;
$custom-light: #9661b0;
$custom-dark: #000000;
JSON
{
  "hex": "#651b8e",
  "rgb": {
    "r": 101,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 278.609,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4034,
    "c": 0.17746,
    "h": 309.6
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#651B8E
secondary
#71BE47
accent
#EB3D7B
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #651B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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