#651778#651778

#651778 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.3% C 0.161 H 318.7°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#651778
RGBrgb(101, 23, 120)
HSLhsl(288, 68%, 28%)
HSVhsv(288, 81%, 47%)
CMYKcmyk(15.8%, 80.8%, 0%, 52.9%)
CIE-LABlab(25.97, 47.53, -37.82)
CIE-LCHlch(25.97, 60.73, 321.49°)
OKLaboklab(38.3% 0.121 -0.1063)
OKLCHoklch(38.3% 0.161 318.7)
XYZxyz(9.0629, 4.7360, 18.2024)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651778 #2A7817
analogous
#341778 #651778 #78175A
triadic
#651778 #786517 #177865
tetradic
#651778 #783417 #2A7817 #175A78
square
#651778 #783417 #2A7817 #175A78
split-complementary
#651778 #5A7817 #177834
monochromatic
#16051A #3A0D45 #651778 #9021AB #B732D8

Accessibility & contrast

On white

10.78
#651778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#651778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651778
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651778#FFFFFF#000000##FFFFFF
##6517781.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397B
Deuteranopia (green-blind)
#1D4076
Tritanopia (blue-blind)
#652C47
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #651778;
/* rgb */ color: rgb(101, 23, 120);
/* oklch */ color: oklch(38.3% 0.161 318.7);
Tailwind
colors: {
  custom: {
    50: '#945e9f',
    500: '#651778',
    950: '#000000',
  },
}
SCSS
$custom: #651778;
$custom-light: #945e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#651778",
  "rgb": {
    "r": 101,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 288.247,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38297,
    "c": 0.16104,
    "h": 318.7
  },
  "luminance": 0.04736
}

Semantic roles & 50–950 ramp

primary
#651778
secondary
#53AD3E
accent
#EB3D5F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #651778

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

Preview Lab → · Contrast checker → · Palette generator →

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