#651A98#651A98

#651A98 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.188 H 306.3°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#651A98
RGBrgb(101, 26, 152)
HSLhsl(276, 71%, 35%)
HSVhsv(276, 83%, 60%)
CMYKcmyk(33.6%, 82.9%, 0%, 40.4%)
CIE-LABlab(28.83, 53.36, -53.15)
CIE-LCHlch(28.83, 75.32, 315.11°)
OKLaboklab(41.09% 0.1113 -0.1514)
OKLCHoklch(41.09% 0.188 306.3)
XYZxyz(11.4025, 5.7726, 30.2132)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651A98 #4D981A
analogous
#261A98 #651A98 #981A8C
triadic
#651A98 #98651A #1A9865
tetradic
#651A98 #98261A #4D981A #1A8C98
square
#651A98 #98261A #4D981A #1A8C98
split-complementary
#651A98 #8C981A #1A9826
monochromatic
#20082F #421164 #651A98 #8823CC #A44CE0

Accessibility & contrast

On white

9.75
#651A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#651A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651A98
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651A98#FFFFFF#000000##FFFFFF
##651A981.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#5C3C5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #651a98;
/* rgb */ color: rgb(101, 26, 152);
/* oklch */ color: oklch(41.1% 0.188 306.3);
Tailwind
colors: {
  custom: {
    50: '#9661b7',
    500: '#651a98',
    950: '#000000',
  },
}
SCSS
$custom: #651a98;
$custom-light: #9661b7;
$custom-dark: #000000;
JSON
{
  "hex": "#651a98",
  "rgb": {
    "r": 101,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 275.714,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41091,
    "c": 0.18791,
    "h": 306.3
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#651A98
secondary
#7CC24B
accent
#EE3A83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #651A98

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

Preview Lab → · Contrast checker → · Palette generator →

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