#651793#651793

#651793 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.186 H 308.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#651793
RGBrgb(101, 23, 147)
HSLhsl(278, 73%, 33%)
HSVhsv(278, 84%, 58%)
CMYKcmyk(31.3%, 84.4%, 0%, 42.4%)
CIE-LABlab(28.08, 53.22, -51.31)
CIE-LCHlch(28.08, 73.92, 316.05°)
OKLaboklab(40.44% 0.1149 -0.1459)
OKLCHoklch(40.44% 0.186 308.2)
XYZxyz(10.9386, 5.4863, 28.0808)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651793 #459317
analogous
#271793 #651793 #931783
triadic
#651793 #936517 #179365
tetradic
#651793 #932717 #459317 #178393
square
#651793 #932717 #459317 #178393
split-complementary
#651793 #839317 #179327
monochromatic
#1C0629 #410F5E #651793 #891FC8 #A743E2

Accessibility & contrast

On white

10.01
#651793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651793
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651793#FFFFFF#000000##FFFFFF
##6517931.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#5D3957
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #651793;
/* rgb */ color: rgb(101, 23, 147);
/* oklch */ color: oklch(40.4% 0.186 308.2);
Tailwind
colors: {
  custom: {
    50: '#9660b4',
    500: '#651793',
    950: '#000000',
  },
}
SCSS
$custom: #651793;
$custom-light: #9660b4;
$custom-dark: #000000;
JSON
{
  "hex": "#651793",
  "rgb": {
    "r": 101,
    "g": 23,
    "b": 147
  },
  "hsl": {
    "h": 277.742,
    "s": 72.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40436,
    "c": 0.18577,
    "h": 308.2
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#651793
secondary
#73C244
accent
#F0387C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #651793

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

Preview Lab → · Contrast checker → · Palette generator →

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