#651796#651796

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

Color values

HEX#651796
RGBrgb(101, 23, 150)
HSLhsl(277, 73%, 34%)
HSVhsv(277, 85%, 59%)
CMYKcmyk(32.7%, 84.7%, 0%, 41.2%)
CIE-LABlab(28.33, 53.88, -52.74)
CIE-LCHlch(28.33, 75.40, 315.61°)
OKLaboklab(40.69% 0.1141 -0.1502)
OKLCHoklch(40.69% 0.189 307.2)
XYZxyz(11.1771, 5.5816, 29.3368)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651796 #489617
analogous
#251796 #651796 #961788
triadic
#651796 #966517 #179665
tetradic
#651796 #962517 #489617 #178896
square
#651796 #962517 #489617 #178896
split-complementary
#651796 #889617 #179625
monochromatic
#1E072C #410F61 #651796 #891FCB #A645E2

Accessibility & contrast

On white

9.92
#651796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651796
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651796#FFFFFF#000000##FFFFFF
##6517961.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#5C3A59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #651796;
/* rgb */ color: rgb(101, 23, 150);
/* oklch */ color: oklch(40.7% 0.189 307.2);
Tailwind
colors: {
  custom: {
    50: '#9660b6',
    500: '#651796',
    950: '#000000',
  },
}
SCSS
$custom: #651796;
$custom-light: #9660b6;
$custom-dark: #000000;
JSON
{
  "hex": "#651796",
  "rgb": {
    "r": 101,
    "g": 23,
    "b": 150
  },
  "hsl": {
    "h": 276.85,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40691,
    "c": 0.18856,
    "h": 307.2
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#651796
secondary
#76C345
accent
#F0387F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #651796

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

Preview Lab → · Contrast checker → · Palette generator →

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