#651988#651988

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

Color values

HEX#651988
RGBrgb(101, 25, 136)
HSLhsl(281, 69%, 32%)
HSVhsv(281, 82%, 53%)
CMYKcmyk(25.7%, 81.6%, 0%, 46.7%)
CIE-LABlab(27.41, 50.18, -45.58)
CIE-LCHlch(27.41, 67.78, 317.75°)
OKLaboklab(39.69% 0.1163 -0.1291)
OKLCHoklch(39.69% 0.174 312)
XYZxyz(10.1576, 5.2398, 23.7641)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651988 #3C8819
analogous
#2E1988 #651988 #881974
triadic
#651988 #886519 #198865
tetradic
#651988 #882E19 #3C8819 #197488
square
#651988 #882E19 #3C8819 #197488
split-complementary
#651988 #748819 #19882E
monochromatic
#180621 #3F0F54 #651988 #8B23BC #AB40DC

Accessibility & contrast

On white

10.25
#651988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#651988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651988
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651988#FFFFFF#000000##FFFFFF
##6519881.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#613551
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #651988;
/* rgb */ color: rgb(101, 25, 136);
/* oklch */ color: oklch(39.7% 0.174 312.0);
Tailwind
colors: {
  custom: {
    50: '#9560ab',
    500: '#651988',
    950: '#000000',
  },
}
SCSS
$custom: #651988;
$custom-light: #9560ab;
$custom-dark: #000000;
JSON
{
  "hex": "#651988",
  "rgb": {
    "r": 101,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 281.081,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39689,
    "c": 0.17374,
    "h": 312
  },
  "luminance": 0.0524
}

Semantic roles & 50–950 ramp

primary
#651988
secondary
#68BB41
accent
#EC3C73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #651988

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

Preview Lab → · Contrast checker → · Palette generator →

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