#651C98#651C98

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

Color values

HEX#651C98
RGBrgb(101, 28, 152)
HSLhsl(275, 69%, 35%)
HSVhsv(275, 82%, 60%)
CMYKcmyk(33.6%, 81.6%, 0%, 40.4%)
CIE-LABlab(29.07, 52.67, -52.77)
CIE-LCHlch(29.07, 74.56, 314.95°)
OKLaboklab(41.26% 0.1098 -0.1503)
OKLCHoklch(41.26% 0.186 306.1)
XYZxyz(11.4483, 5.8643, 30.2285)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651C98 #4F981C
analogous
#271C98 #651C98 #981C8D
triadic
#651C98 #98651C #1C9865
tetradic
#651C98 #98271C #4F981C #1C8D98
square
#651C98 #98271C #4F981C #1C8D98
split-complementary
#651C98 #8D981C #1C9827
monochromatic
#200931 #431264 #651C98 #8726CC #A450DF

Accessibility & contrast

On white

9.66
#651C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651C98
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651C98#FFFFFF#000000##FFFFFF
##651C981.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.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: #651c98;
/* rgb */ color: rgb(101, 28, 152);
/* oklch */ color: oklch(41.3% 0.186 306.1);
Tailwind
colors: {
  custom: {
    50: '#9662b7',
    500: '#651c98',
    950: '#000000',
  },
}
SCSS
$custom: #651c98;
$custom-light: #9662b7;
$custom-dark: #000000;
JSON
{
  "hex": "#651c98",
  "rgb": {
    "r": 101,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 275.323,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41255,
    "c": 0.18611,
    "h": 306.1
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#651C98
secondary
#7EC14E
accent
#EC3C84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #651C98

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

Preview Lab → · Contrast checker → · Palette generator →

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