#651D9A#651D9A

#651D9A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.187 H 305.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#651D9A
RGBrgb(101, 29, 154)
HSLhsl(275, 68%, 36%)
HSVhsv(275, 81%, 60%)
CMYKcmyk(34.4%, 81.2%, 0%, 39.6%)
CIE-LABlab(29.36, 52.77, -53.52)
CIE-LCHlch(29.36, 75.16, 314.60°)
OKLaboklab(41.51% 0.1084 -0.1525)
OKLCHoklch(41.51% 0.187 305.4)
XYZxyz(11.6376, 5.9786, 31.1065)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651D9A #529A1D
analogous
#261D9A #651D9A #9A1D90
triadic
#651D9A #9A651D #1D9A65
tetradic
#651D9A #9A261D #529A1D #1D909A
square
#651D9A #9A261D #529A1D #1D909A
split-complementary
#651D9A #909A1D #1D9A26
monochromatic
#210A33 #431366 #651D9A #8727CE #A353DF

Accessibility & contrast

On white

9.56
#651D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#651D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651D9A
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651D9A#FFFFFF#000000##FFFFFF
##651D9A1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#5B3E5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #651d9a;
/* rgb */ color: rgb(101, 29, 154);
/* oklch */ color: oklch(41.5% 0.187 305.4);
Tailwind
colors: {
  custom: {
    50: '#9663b9',
    500: '#651d9a',
    950: '#000000',
  },
}
SCSS
$custom: #651d9a;
$custom-light: #9663b9;
$custom-dark: #000000;
JSON
{
  "hex": "#651d9a",
  "rgb": {
    "r": 101,
    "g": 29,
    "b": 154
  },
  "hsl": {
    "h": 274.56,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4151,
    "c": 0.18712,
    "h": 305.4
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#651D9A
secondary
#81C251
accent
#EB3D87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #651D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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