#651D99#651D99

#651D99 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.186 H 305.7°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#651D99
RGBrgb(101, 29, 153)
HSLhsl(275, 68%, 36%)
HSVhsv(275, 81%, 60%)
CMYKcmyk(34%, 81%, 0%, 40%)
CIE-LABlab(29.27, 52.54, -53.04)
CIE-LCHlch(29.27, 74.66, 314.73°)
OKLaboklab(41.43% 0.1087 -0.1511)
OKLCHoklch(41.43% 0.186 305.7)
XYZxyz(11.5547, 5.9454, 30.6697)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651D99 #51991D
analogous
#271D99 #651D99 #991D8F
triadic
#651D99 #99651D #1D9965
tetradic
#651D99 #99271D #51991D #1D8F99
square
#651D99 #99271D #51991D #1D8F99
split-complementary
#651D99 #8F991D #1D9927
monochromatic
#210932 #431366 #651D99 #8727CC #A352DE

Accessibility & contrast

On white

9.59
#651D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#651D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651D99
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651D99#FFFFFF#000000##FFFFFF
##651D991.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #651d99;
/* rgb */ color: rgb(101, 29, 153);
/* oklch */ color: oklch(41.4% 0.186 305.7);
Tailwind
colors: {
  custom: {
    50: '#9663b8',
    500: '#651d99',
    950: '#000000',
  },
}
SCSS
$custom: #651d99;
$custom-light: #9663b8;
$custom-dark: #000000;
JSON
{
  "hex": "#651d99",
  "rgb": {
    "r": 101,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 274.839,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41425,
    "c": 0.18614,
    "h": 305.7
  },
  "luminance": 0.05945
}

Semantic roles & 50–950 ramp

primary
#651D99
secondary
#80C151
accent
#EB3D86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #651D99

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

Preview Lab → · Contrast checker → · Palette generator →

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