#651C8B#651C8B

#651C8B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.174 H 310.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#651C8B
RGBrgb(101, 28, 139)
HSLhsl(279, 66%, 33%)
HSVhsv(279, 80%, 55%)
CMYKcmyk(27.3%, 79.9%, 0%, 45.5%)
CIE-LABlab(28.01, 49.76, -46.46)
CIE-LCHlch(28.01, 68.08, 316.96°)
OKLaboklab(40.19% 0.113 -0.1317)
OKLCHoklch(40.19% 0.174 310.6)
XYZxyz(10.4414, 5.4615, 24.9252)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651C8B #428B1C
analogous
#2D1C8B #651C8B #8B1C7A
triadic
#651C8B #8B651C #1C8B65
tetradic
#651C8B #8B2D1C #428B1C #1C7A8B
square
#651C8B #8B2D1C #428B1C #1C7A8B
split-complementary
#651C8B #7A8B1C #1C8B2D
monochromatic
#1B0725 #401258 #651C8B #8A26BE #A847DA

Accessibility & contrast

On white

10.04
#651C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#651C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651C8B
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651C8B#FFFFFF#000000##FFFFFF
##651C8B1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#603753
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #651c8b;
/* rgb */ color: rgb(101, 28, 139);
/* oklch */ color: oklch(40.2% 0.174 310.6);
Tailwind
colors: {
  custom: {
    50: '#9561ae',
    500: '#651c8b',
    950: '#000000',
  },
}
SCSS
$custom: #651c8b;
$custom-light: #9561ae;
$custom-dark: #000000;
JSON
{
  "hex": "#651c8b",
  "rgb": {
    "r": 101,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 279.459,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40186,
    "c": 0.17359,
    "h": 310.6
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#651C8B
secondary
#6FBC47
accent
#E93E79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #651C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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