#651B98#651B98

#651B98 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.187 H 306.2°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#651B98
RGBrgb(101, 27, 152)
HSLhsl(276, 70%, 35%)
HSVhsv(276, 82%, 60%)
CMYKcmyk(33.6%, 82.2%, 0%, 40.4%)
CIE-LABlab(28.95, 53.02, -52.96)
CIE-LCHlch(28.95, 74.94, 315.03°)
OKLaboklab(41.17% 0.1106 -0.1508)
OKLCHoklch(41.17% 0.187 306.2)
XYZxyz(11.4250, 5.8177, 30.2207)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651B98 #4E981B
analogous
#271B98 #651B98 #981B8C
triadic
#651B98 #98651B #1B9865
tetradic
#651B98 #98271B #4E981B #1B8C98
square
#651B98 #98271B #4E981B #1B8C98
split-complementary
#651B98 #8C981B #1B9827
monochromatic
#200930 #421264 #651B98 #8824CC #A44EE0

Accessibility & contrast

On white

9.71
#651B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#651B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651B98
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651B98#FFFFFF#000000##FFFFFF
##651B981.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #651b98;
/* rgb */ color: rgb(101, 27, 152);
/* oklch */ color: oklch(41.2% 0.187 306.2);
Tailwind
colors: {
  custom: {
    50: '#9662b7',
    500: '#651b98',
    950: '#000000',
  },
}
SCSS
$custom: #651b98;
$custom-light: #9662b7;
$custom-dark: #000000;
JSON
{
  "hex": "#651b98",
  "rgb": {
    "r": 101,
    "g": 27,
    "b": 152
  },
  "hsl": {
    "h": 275.52,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41172,
    "c": 0.18702,
    "h": 306.2
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #651B98

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

Preview Lab → · Contrast checker → · Palette generator →

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