#651F88#651F88

#651F88 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.167 H 311.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#651F88
RGBrgb(101, 31, 136)
HSLhsl(280, 63%, 33%)
HSVhsv(280, 77%, 53%)
CMYKcmyk(25.7%, 77.2%, 0%, 46.7%)
CIE-LABlab(28.18, 47.95, -44.32)
CIE-LCHlch(28.18, 65.30, 317.25°)
OKLaboklab(40.23% 0.1109 -0.1255)
OKLCHoklch(40.23% 0.167 311.5)
XYZxyz(10.2999, 5.5245, 23.8115)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F88 #42881F
analogous
#301F88 #651F88 #881F76
triadic
#651F88 #88651F #1F8865
tetradic
#651F88 #88301F #42881F #1F7688
square
#651F88 #88301F #42881F #1F7688
split-complementary
#651F88 #76881F #1F8830
monochromatic
#1B0824 #401456 #651F88 #8A2ABA #A84BD6

Accessibility & contrast

On white

9.98
#651F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651F88
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F88#FFFFFF#000000##FFFFFF
##651F881.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#0B4486
Tritanopia (blue-blind)
#613852
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #651f88;
/* rgb */ color: rgb(101, 31, 136);
/* oklch */ color: oklch(40.2% 0.167 311.5);
Tailwind
colors: {
  custom: {
    50: '#9563ab',
    500: '#651f88',
    950: '#000000',
  },
}
SCSS
$custom: #651f88;
$custom-light: #9563ab;
$custom-dark: #000000;
JSON
{
  "hex": "#651f88",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 280,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40232,
    "c": 0.16745,
    "h": 311.5
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#651F88
secondary
#6FB94A
accent
#E64279
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #651F88

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

Preview Lab → · Contrast checker → · Palette generator →

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