#651789#651789

#651789 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.177 H 311.8°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#651789
RGBrgb(101, 23, 137)
HSLhsl(281, 71%, 31%)
HSVhsv(281, 83%, 54%)
CMYKcmyk(26.3%, 83.2%, 0%, 46.3%)
CIE-LABlab(27.26, 51.05, -46.44)
CIE-LCHlch(27.26, 69.02, 317.71°)
OKLaboklab(39.61% 0.1176 -0.1316)
OKLCHoklch(39.61% 0.177 311.8)
XYZxyz(10.1877, 5.1859, 24.1264)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651789 #3B8917
analogous
#2C1789 #651789 #891774
triadic
#651789 #896517 #178965
tetradic
#651789 #892C17 #3B8917 #177489
square
#651789 #892C17 #3B8917 #177489
split-complementary
#651789 #748917 #17892C
monochromatic
#180520 #3E0E55 #651789 #8C20BD #AB3CDE

Accessibility & contrast

On white

10.31
#651789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#651789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651789
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651789#FFFFFF#000000##FFFFFF
##6517891.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#603451
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #651789;
/* rgb */ color: rgb(101, 23, 137);
/* oklch */ color: oklch(39.6% 0.177 311.8);
Tailwind
colors: {
  custom: {
    50: '#955fac',
    500: '#651789',
    950: '#000000',
  },
}
SCSS
$custom: #651789;
$custom-light: #955fac;
$custom-dark: #000000;
JSON
{
  "hex": "#651789",
  "rgb": {
    "r": 101,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 281.053,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39609,
    "c": 0.17653,
    "h": 311.8
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#651789
secondary
#67BD3F
accent
#EE3A73
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #651789

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

Preview Lab → · Contrast checker → · Palette generator →

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