#651D98#651D98

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

Color values

HEX#651D98
RGBrgb(101, 29, 152)
HSLhsl(275, 68%, 35%)
HSVhsv(275, 81%, 60%)
CMYKcmyk(33.6%, 80.9%, 0%, 40.4%)
CIE-LABlab(29.19, 52.31, -52.57)
CIE-LCHlch(29.19, 74.16, 314.86°)
OKLaboklab(41.34% 0.109 -0.1497)
OKLCHoklch(41.34% 0.185 306.1)
XYZxyz(11.4724, 5.9125, 30.2365)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651D98 #50981D
analogous
#271D98 #651D98 #981D8D
triadic
#651D98 #98651D #1D9865
tetradic
#651D98 #98271D #50981D #1D8D98
square
#651D98 #98271D #50981D #1D8D98
split-complementary
#651D98 #8D981D #1D9827
monochromatic
#210931 #431365 #651D98 #8727CB #A452DE

Accessibility & contrast

On white

9.62
#651D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#651D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651D98
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651D98#FFFFFF#000000##FFFFFF
##651D981.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#5C3E5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #651d98;
/* rgb */ color: rgb(101, 29, 152);
/* oklch */ color: oklch(41.3% 0.185 306.1);
Tailwind
colors: {
  custom: {
    50: '#9663b7',
    500: '#651d98',
    950: '#000000',
  },
}
SCSS
$custom: #651d98;
$custom-light: #9663b7;
$custom-dark: #000000;
JSON
{
  "hex": "#651d98",
  "rgb": {
    "r": 101,
    "g": 29,
    "b": 152
  },
  "hsl": {
    "h": 275.122,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41341,
    "c": 0.18516,
    "h": 306.1
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#651D98
secondary
#7FC150
accent
#EB3D85
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #651D98

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

Preview Lab → · Contrast checker → · Palette generator →

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