#651887#651887

#651887 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.174 H 312.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#651887
RGBrgb(101, 24, 135)
HSLhsl(282, 70%, 31%)
HSVhsv(282, 82%, 53%)
CMYKcmyk(25.2%, 82.2%, 0%, 47.1%)
CIE-LABlab(27.21, 50.30, -45.27)
CIE-LCHlch(27.21, 67.67, 318.01°)
OKLaboklab(39.53% 0.1173 -0.1282)
OKLCHoklch(39.53% 0.174 312.5)
XYZxyz(10.0658, 5.1695, 23.3845)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651887 #3A8718
analogous
#2E1887 #651887 #871871
triadic
#651887 #876518 #188765
tetradic
#651887 #872E18 #3A8718 #187187
square
#651887 #872E18 #3A8718 #187187
split-complementary
#651887 #718718 #18872E
monochromatic
#17061F #3E0F53 #651887 #8C21BB #AC3DDC

Accessibility & contrast

On white

10.33
#651887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#651887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651887
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651887#FFFFFF#000000##FFFFFF
##6518871.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#014285
Tritanopia (blue-blind)
#613450
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #651887;
/* rgb */ color: rgb(101, 24, 135);
/* oklch */ color: oklch(39.5% 0.174 312.5);
Tailwind
colors: {
  custom: {
    50: '#9560ab',
    500: '#651887',
    950: '#000000',
  },
}
SCSS
$custom: #651887;
$custom-light: #9560ab;
$custom-dark: #000000;
JSON
{
  "hex": "#651887",
  "rgb": {
    "r": 101,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 281.622,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39528,
    "c": 0.17376,
    "h": 312.5
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#651887
secondary
#66BB40
accent
#ED3B72
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #651887

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

Preview Lab → · Contrast checker → · Palette generator →

#651887 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva