#651D9B#651D9B

#651D9B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.188 H 305.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#651D9B
RGBrgb(101, 29, 155)
HSLhsl(274, 68%, 36%)
HSVhsv(274, 81%, 61%)
CMYKcmyk(34.8%, 81.3%, 0%, 39.2%)
CIE-LABlab(29.44, 53.00, -53.99)
CIE-LCHlch(29.44, 75.66, 314.47°)
OKLaboklab(41.6% 0.1082 -0.1539)
OKLCHoklch(41.6% 0.188 305.1)
XYZxyz(11.7212, 6.0121, 31.5469)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651D9B #539B1D
analogous
#261D9B #651D9B #9B1D92
triadic
#651D9B #9B651D #1D9B65
tetradic
#651D9B #9B261D #539B1D #1D929B
square
#651D9B #9B261D #539B1D #1D929B
split-complementary
#651D9B #929B1D #1D9B26
monochromatic
#220A34 #431367 #651D9B #8727CF #A353DF

Accessibility & contrast

On white

9.54
#651D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651D9B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651D9B#FFFFFF#000000##FFFFFF
##651D9B1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#5B3F5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #651d9b;
/* rgb */ color: rgb(101, 29, 155);
/* oklch */ color: oklch(41.6% 0.188 305.1);
Tailwind
colors: {
  custom: {
    50: '#9763b9',
    500: '#651d9b',
    950: '#000000',
  },
}
SCSS
$custom: #651d9b;
$custom-light: #9763b9;
$custom-dark: #000000;
JSON
{
  "hex": "#651d9b",
  "rgb": {
    "r": 101,
    "g": 29,
    "b": 155
  },
  "hsl": {
    "h": 274.286,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41595,
    "c": 0.18809,
    "h": 305.1
  },
  "luminance": 0.06012
}

Semantic roles & 50–950 ramp

primary
#651D9B
secondary
#82C252
accent
#EB3C87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #651D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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