#651B99#651B99

#651B99 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.188 H 305.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#651B99
RGBrgb(101, 27, 153)
HSLhsl(275, 70%, 35%)
HSVhsv(275, 82%, 60%)
CMYKcmyk(34%, 82.4%, 0%, 40%)
CIE-LABlab(29.03, 53.25, -53.44)
CIE-LCHlch(29.03, 75.44, 314.90°)
OKLaboklab(41.26% 0.1103 -0.1522)
OKLCHoklch(41.26% 0.188 305.9)
XYZxyz(11.5072, 5.8506, 30.6539)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651B99 #4F991B
analogous
#261B99 #651B99 #991B8E
triadic
#651B99 #99651B #1B9965
tetradic
#651B99 #99261B #4F991B #1B8E99
square
#651B99 #99261B #4F991B #1B8E99
split-complementary
#651B99 #8E991B #1B9926
monochromatic
#200931 #431265 #651B99 #8724CD #A44FE0

Accessibility & contrast

On white

9.68
#651B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#651B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651B99
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651B99#FFFFFF#000000##FFFFFF
##651B991.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#5B3D5B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #651b99;
/* rgb */ color: rgb(101, 27, 153);
/* oklch */ color: oklch(41.3% 0.188 305.9);
Tailwind
colors: {
  custom: {
    50: '#9662b8',
    500: '#651b99',
    950: '#000000',
  },
}
SCSS
$custom: #651b99;
$custom-light: #9662b8;
$custom-dark: #000000;
JSON
{
  "hex": "#651b99",
  "rgb": {
    "r": 101,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 275.238,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41257,
    "c": 0.18798,
    "h": 305.9
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

primary
#651B99
secondary
#7EC24E
accent
#ED3B84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #651B99

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

Preview Lab → · Contrast checker → · Palette generator →

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