#651F78#651F78

#651F78 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.0% C 0.152 H 318.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#651F78
RGBrgb(101, 31, 120)
HSLhsl(287, 59%, 30%)
HSVhsv(287, 74%, 47%)
CMYKcmyk(15.8%, 74.2%, 0%, 52.9%)
CIE-LABlab(27.03, 44.50, -36.12)
CIE-LCHlch(27.03, 57.31, 320.94°)
OKLaboklab(39.05% 0.1131 -0.1014)
OKLCHoklch(39.05% 0.152 318.1)
XYZxyz(9.2465, 5.1032, 18.2636)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F78 #32781F
analogous
#391F78 #651F78 #781F5F
triadic
#651F78 #78651F #1F7865
tetradic
#651F78 #78391F #32781F #1F5F78
square
#651F78 #78391F #32781F #1F5F78
split-complementary
#651F78 #5F781F #1F7839
monochromatic
#140618 #3C1247 #651F78 #8E2CA9 #B143CE

Accessibility & contrast

On white

10.39
#651F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#651F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651F78
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F78#FFFFFF#000000##FFFFFF
##651F781.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#234276
Tritanopia (blue-blind)
#643149
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #651f78;
/* rgb */ color: rgb(101, 31, 120);
/* oklch */ color: oklch(39.0% 0.152 318.1);
Tailwind
colors: {
  custom: {
    50: '#94629f',
    500: '#651f78',
    950: '#000000',
  },
}
SCSS
$custom: #651f78;
$custom-light: #94629f;
$custom-dark: #000000;
JSON
{
  "hex": "#651f78",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 287.191,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39048,
    "c": 0.15187,
    "h": 318.1
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#651F78
secondary
#5DAB47
accent
#E24667
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #651F78

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

Preview Lab → · Contrast checker → · Palette generator →

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