#651798#651798

#651798 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.9% C 0.190 H 306.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#651798
RGBrgb(101, 23, 152)
HSLhsl(276, 74%, 34%)
HSVhsv(276, 85%, 60%)
CMYKcmyk(33.6%, 84.9%, 0%, 40.4%)
CIE-LABlab(28.50, 54.32, -53.69)
CIE-LCHlch(28.50, 76.38, 315.33°)
OKLaboklab(40.86% 0.1134 -0.1529)
OKLCHoklch(40.86% 0.19 306.6)
XYZxyz(11.3395, 5.6466, 30.1922)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651798 #4A9817
analogous
#251798 #651798 #98178B
triadic
#651798 #986517 #179865
tetradic
#651798 #982517 #4A9817 #178B98
square
#651798 #982517 #4A9817 #178B98
split-complementary
#651798 #8B9817 #179825
monochromatic
#1E072E #420F63 #651798 #881FCD #A546E3

Accessibility & contrast

On white

9.86
#651798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#651798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651798
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651798#FFFFFF#000000##FFFFFF
##6517981.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#5C3B5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #651798;
/* rgb */ color: rgb(101, 23, 152);
/* oklch */ color: oklch(40.9% 0.190 306.6);
Tailwind
colors: {
  custom: {
    50: '#9760b7',
    500: '#651798',
    950: '#000000',
  },
}
SCSS
$custom: #651798;
$custom-light: #9760b7;
$custom-dark: #000000;
JSON
{
  "hex": "#651798",
  "rgb": {
    "r": 101,
    "g": 23,
    "b": 152
  },
  "hsl": {
    "h": 276.279,
    "s": 73.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40863,
    "c": 0.19042,
    "h": 306.6
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#651798
secondary
#78C447
accent
#F03781
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #651798

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

Preview Lab → · Contrast checker → · Palette generator →

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