#651D9C#651D9C

#651D9C is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.7% C 0.189 H 304.8°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#651D9C
RGBrgb(101, 29, 156)
HSLhsl(274, 69%, 36%)
HSVhsv(274, 81%, 61%)
CMYKcmyk(35.3%, 81.4%, 0%, 38.8%)
CIE-LABlab(29.53, 53.23, -54.46)
CIE-LCHlch(29.53, 76.16, 314.34°)
OKLaboklab(41.68% 0.1079 -0.1553)
OKLCHoklch(41.68% 0.189 304.8)
XYZxyz(11.8056, 6.0458, 31.9911)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651D9C #549C1D
analogous
#261D9C #651D9C #9C1D94
triadic
#651D9C #9C651D #1D9C65
tetradic
#651D9C #9C261D #549C1D #1D949C
square
#651D9C #9C261D #549C1D #1D949C
split-complementary
#651D9C #949C1D #1D9C26
monochromatic
#220A35 #441368 #651D9C #8627D0 #A354DF

Accessibility & contrast

On white

9.51
#651D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#651D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651D9C
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651D9C#FFFFFF#000000##FFFFFF
##651D9C1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#5A3F5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #651d9c;
/* rgb */ color: rgb(101, 29, 156);
/* oklch */ color: oklch(41.7% 0.189 304.8);
Tailwind
colors: {
  custom: {
    50: '#9763ba',
    500: '#651d9c',
    950: '#000000',
  },
}
SCSS
$custom: #651d9c;
$custom-light: #9763ba;
$custom-dark: #000000;
JSON
{
  "hex": "#651d9c",
  "rgb": {
    "r": 101,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 274.016,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4168,
    "c": 0.18906,
    "h": 304.8
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#651D9C
secondary
#83C252
accent
#EB3C88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #651D9C

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

Preview Lab → · Contrast checker → · Palette generator →

#651D9C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva