#651978#651978

#651978 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.159 H 318.6°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#651978
RGBrgb(101, 25, 120)
HSLhsl(288, 66%, 28%)
HSVhsv(288, 79%, 47%)
CMYKcmyk(15.8%, 79.2%, 0%, 52.9%)
CIE-LABlab(26.21, 46.83, -37.43)
CIE-LCHlch(26.21, 59.95, 321.37°)
OKLaboklab(38.47% 0.1191 -0.1052)
OKLCHoklch(38.47% 0.159 318.6)
XYZxyz(9.1042, 4.8185, 18.2162)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651978 #2C7819
analogous
#351978 #651978 #78195B
triadic
#651978 #786519 #197865
tetradic
#651978 #783519 #2C7819 #195B78
square
#651978 #783519 #2C7819 #195B78
split-complementary
#651978 #5B7819 #197835
monochromatic
#150519 #3A0E45 #651978 #9024AB #B536D5

Accessibility & contrast

On white

10.69
#651978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#651978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651978
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651978#FFFFFF#000000##FFFFFF
##6519781.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397B
Deuteranopia (green-blind)
#1F4076
Tritanopia (blue-blind)
#652D48
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #651978;
/* rgb */ color: rgb(101, 25, 120);
/* oklch */ color: oklch(38.5% 0.159 318.6);
Tailwind
colors: {
  custom: {
    50: '#945f9f',
    500: '#651978',
    950: '#000000',
  },
}
SCSS
$custom: #651978;
$custom-light: #945f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#651978",
  "rgb": {
    "r": 101,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 288,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38469,
    "c": 0.15893,
    "h": 318.6
  },
  "luminance": 0.04818
}

Semantic roles & 50–950 ramp

primary
#651978
secondary
#56AD40
accent
#E83F61
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #651978

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

Preview Lab → · Contrast checker → · Palette generator →

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