#651F81#651F81

#651F81 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.161 H 314.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#651F81
RGBrgb(101, 31, 129)
HSLhsl(283, 61%, 31%)
HSVhsv(283, 76%, 51%)
CMYKcmyk(21.7%, 76%, 0%, 49.4%)
CIE-LABlab(27.66, 46.42, -40.78)
CIE-LCHlch(27.66, 61.79, 318.70°)
OKLaboklab(39.7% 0.112 -0.1151)
OKLCHoklch(39.7% 0.161 314.2)
XYZxyz(9.8186, 5.3320, 21.2766)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F81 #3B811F
analogous
#341F81 #651F81 #811F6C
triadic
#651F81 #81651F #1F8165
tetradic
#651F81 #81341F #3B811F #1F6C81
square
#651F81 #81341F #3B811F #1F6C81
split-complementary
#651F81 #6C811F #1F8134
monochromatic
#18071E #3E1350 #651F81 #8C2BB2 #AB47D3

Accessibility & contrast

On white

10.16
#651F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#651F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651F81
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F81#FFFFFF#000000##FFFFFF
##651F811.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#19437F
Tritanopia (blue-blind)
#62344E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #651f81;
/* rgb */ color: rgb(101, 31, 129);
/* oklch */ color: oklch(39.7% 0.161 314.2);
Tailwind
colors: {
  custom: {
    50: '#9462a6',
    500: '#651f81',
    950: '#000000',
  },
}
SCSS
$custom: #651f81;
$custom-light: #9462a6;
$custom-dark: #000000;
JSON
{
  "hex": "#651f81",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 282.857,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.397,
    "c": 0.1606,
    "h": 314.2
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#651F81
secondary
#67B448
accent
#E44371
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #651F81

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

Preview Lab → · Contrast checker → · Palette generator →

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