#651797#651797

#651797 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.8% C 0.189 H 306.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#651797
RGBrgb(101, 23, 151)
HSLhsl(277, 74%, 34%)
HSVhsv(277, 85%, 59%)
CMYKcmyk(33.1%, 84.8%, 0%, 40.8%)
CIE-LABlab(28.42, 54.10, -53.22)
CIE-LCHlch(28.42, 75.89, 315.47°)
OKLaboklab(40.78% 0.1137 -0.1516)
OKLCHoklch(40.78% 0.189 306.9)
XYZxyz(11.2579, 5.6140, 29.7627)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651797 #499717
analogous
#251797 #651797 #971789
triadic
#651797 #976517 #179765
tetradic
#651797 #972517 #499717 #178997
square
#651797 #972517 #499717 #178997
split-complementary
#651797 #899717 #179725
monochromatic
#1E072D #410F62 #651797 #891FCC #A546E3

Accessibility & contrast

On white

9.89
#651797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#651797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651797
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651797#FFFFFF#000000##FFFFFF
##6517971.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#5C3B59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #651797;
/* rgb */ color: rgb(101, 23, 151);
/* oklch */ color: oklch(40.8% 0.189 306.9);
Tailwind
colors: {
  custom: {
    50: '#9660b7',
    500: '#651797',
    950: '#000000',
  },
}
SCSS
$custom: #651797;
$custom-light: #9660b7;
$custom-dark: #000000;
JSON
{
  "hex": "#651797",
  "rgb": {
    "r": 101,
    "g": 23,
    "b": 151
  },
  "hsl": {
    "h": 276.563,
    "s": 73.563,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40776,
    "c": 0.18949,
    "h": 306.9
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#651797
secondary
#77C446
accent
#F03880
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #651797

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

Preview Lab → · Contrast checker → · Palette generator →

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