#651788#651788

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

Color values

HEX#651788
RGBrgb(101, 23, 136)
HSLhsl(281, 71%, 31%)
HSVhsv(281, 83%, 53%)
CMYKcmyk(25.7%, 83.1%, 0%, 46.7%)
CIE-LABlab(27.18, 50.84, -45.95)
CIE-LCHlch(27.18, 68.53, 317.89°)
OKLaboklab(39.53% 0.1179 -0.1302)
OKLCHoklch(39.53% 0.176 312.2)
XYZxyz(10.1163, 5.1574, 23.7503)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651788 #3A8817
analogous
#2C1788 #651788 #881772
triadic
#651788 #886517 #178865
tetradic
#651788 #882C17 #3A8817 #177288
square
#651788 #882C17 #3A8817 #177288
split-complementary
#651788 #728817 #17882C
monochromatic
#17051F #3E0E54 #651788 #8C20BC #AC3BDE

Accessibility & contrast

On white

10.34
#651788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651788
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651788#FFFFFF#000000##FFFFFF
##6517881.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #651788;
/* rgb */ color: rgb(101, 23, 136);
/* oklch */ color: oklch(39.5% 0.176 312.2);
Tailwind
colors: {
  custom: {
    50: '#955fab',
    500: '#651788',
    950: '#000000',
  },
}
SCSS
$custom: #651788;
$custom-light: #955fab;
$custom-dark: #000000;
JSON
{
  "hex": "#651788",
  "rgb": {
    "r": 101,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 281.416,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39529,
    "c": 0.17561,
    "h": 312.2
  },
  "luminance": 0.05157
}

Semantic roles & 50–950 ramp

primary
#651788
secondary
#66BC3F
accent
#EE3A72
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #651788

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

Preview Lab → · Contrast checker → · Palette generator →

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