#651794#651794

#651794 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.5% C 0.187 H 307.9°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#651794
RGBrgb(101, 23, 148)
HSLhsl(277, 73%, 34%)
HSVhsv(277, 84%, 58%)
CMYKcmyk(31.8%, 84.5%, 0%, 42%)
CIE-LABlab(28.16, 53.44, -51.79)
CIE-LCHlch(28.16, 74.42, 315.90°)
OKLaboklab(40.52% 0.1146 -0.1474)
OKLCHoklch(40.52% 0.187 307.9)
XYZxyz(11.0174, 5.5178, 28.4959)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651794 #469417
analogous
#261794 #651794 #941784
triadic
#651794 #946517 #179465
tetradic
#651794 #942617 #469417 #178494
square
#651794 #942617 #469417 #178494
split-complementary
#651794 #849417 #179426
monochromatic
#1D072A #410F5F #651794 #891FC9 #A644E2

Accessibility & contrast

On white

9.98
#651794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#651794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651794
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651794#FFFFFF#000000##FFFFFF
##6517941.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#5D3958
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #651794;
/* rgb */ color: rgb(101, 23, 148);
/* oklch */ color: oklch(40.5% 0.187 307.9);
Tailwind
colors: {
  custom: {
    50: '#9660b4',
    500: '#651794',
    950: '#000000',
  },
}
SCSS
$custom: #651794;
$custom-light: #9660b4;
$custom-dark: #000000;
JSON
{
  "hex": "#651794",
  "rgb": {
    "r": 101,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 277.44,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4052,
    "c": 0.1867,
    "h": 307.9
  },
  "luminance": 0.05518
}

Semantic roles & 50–950 ramp

primary
#651794
secondary
#74C344
accent
#F0387D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #651794

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

Preview Lab → · Contrast checker → · Palette generator →

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