#651D8A#651D8A

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

Color values

HEX#651D8A
RGBrgb(101, 29, 138)
HSLhsl(280, 65%, 33%)
HSVhsv(280, 79%, 54%)
CMYKcmyk(26.8%, 79%, 0%, 45.9%)
CIE-LABlab(28.06, 49.17, -45.76)
CIE-LCHlch(28.06, 67.17, 317.06°)
OKLaboklab(40.2% 0.1124 -0.1297)
OKLCHoklch(40.2% 0.172 310.9)
XYZxyz(10.3928, 5.4807, 24.5502)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651D8A #428A1D
analogous
#2F1D8A #651D8A #8A1D78
triadic
#651D8A #8A651D #1D8A65
tetradic
#651D8A #8A2F1D #428A1D #1D788A
square
#651D8A #8A2F1D #428A1D #1D788A
split-complementary
#651D8A #788A1D #1D8A2F
monochromatic
#1B0825 #401257 #651D8A #8A28BD #A849D9

Accessibility & contrast

On white

10.02
#651D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#651D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651D8A
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651D8A#FFFFFF#000000##FFFFFF
##651D8A1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #651d8a;
/* rgb */ color: rgb(101, 29, 138);
/* oklch */ color: oklch(40.2% 0.172 310.9);
Tailwind
colors: {
  custom: {
    50: '#9562ad',
    500: '#651d8a',
    950: '#000000',
  },
}
SCSS
$custom: #651d8a;
$custom-light: #9562ad;
$custom-dark: #000000;
JSON
{
  "hex": "#651d8a",
  "rgb": {
    "r": 101,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 279.633,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40198,
    "c": 0.17159,
    "h": 310.9
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#651D8A
secondary
#6FBB48
accent
#E84079
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #651D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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