#651D8B#651D8B

#651D8B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.173 H 310.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#651D8B
RGBrgb(101, 29, 139)
HSLhsl(279, 65%, 33%)
HSVhsv(279, 79%, 55%)
CMYKcmyk(27.3%, 79.1%, 0%, 45.5%)
CIE-LABlab(28.14, 49.39, -46.26)
CIE-LCHlch(28.14, 67.67, 316.88°)
OKLaboklab(40.28% 0.1122 -0.1311)
OKLCHoklch(40.28% 0.173 310.5)
XYZxyz(10.4655, 5.5098, 24.9333)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651D8B #438B1D
analogous
#2E1D8B #651D8B #8B1D7A
triadic
#651D8B #8B651D #1D8B65
tetradic
#651D8B #8B2E1D #438B1D #1D7A8B
square
#651D8B #8B2E1D #438B1D #1D7A8B
split-complementary
#651D8B #7A8B1D #1D8B2E
monochromatic
#1B0826 #401258 #651D8B #8A28BE #A749D9

Accessibility & contrast

On white

9.99
#651D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651D8B
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651D8B#FFFFFF#000000##FFFFFF
##651D8B1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #651d8b;
/* rgb */ color: rgb(101, 29, 139);
/* oklch */ color: oklch(40.3% 0.173 310.5);
Tailwind
colors: {
  custom: {
    50: '#9562ae',
    500: '#651d8b',
    950: '#000000',
  },
}
SCSS
$custom: #651d8b;
$custom-light: #9562ae;
$custom-dark: #000000;
JSON
{
  "hex": "#651d8b",
  "rgb": {
    "r": 101,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 279.273,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40277,
    "c": 0.17256,
    "h": 310.5
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#651D8B
secondary
#70BB49
accent
#E83F7A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #651D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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