#651F8B#651F8B

#651F8B is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.170 H 310.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#651F8B
RGBrgb(101, 31, 139)
HSLhsl(279, 64%, 33%)
HSVhsv(279, 78%, 55%)
CMYKcmyk(27.3%, 77.7%, 0%, 45.5%)
CIE-LABlab(28.41, 48.62, -45.82)
CIE-LCHlch(28.41, 66.81, 316.70°)
OKLaboklab(40.47% 0.1103 -0.1299)
OKLCHoklch(40.47% 0.17 310.3)
XYZxyz(10.5161, 5.6110, 24.9501)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F8B #458B1F
analogous
#2F1F8B #651F8B #8B1F7B
triadic
#651F8B #8B651F #1F8B65
tetradic
#651F8B #8B2F1F #458B1F #1F7B8B
square
#651F8B #8B2F1F #458B1F #1F7B8B
split-complementary
#651F8B #7B8B1F #1F8B2F
monochromatic
#1C0927 #411459 #651F8B #892ABD #A74DD7

Accessibility & contrast

On white

9.90
#651F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#651F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651F8B
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F8B#FFFFFF#000000##FFFFFF
##651F8B1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#024489
Tritanopia (blue-blind)
#603954
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #651f8b;
/* rgb */ color: rgb(101, 31, 139);
/* oklch */ color: oklch(40.5% 0.170 310.3);
Tailwind
colors: {
  custom: {
    50: '#9563ae',
    500: '#651f8b',
    950: '#000000',
  },
}
SCSS
$custom: #651f8b;
$custom-light: #9563ae;
$custom-dark: #000000;
JSON
{
  "hex": "#651f8b",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 278.889,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40466,
    "c": 0.1704,
    "h": 310.3
  },
  "luminance": 0.05611
}

Semantic roles & 50–950 ramp

primary
#651F8B
secondary
#73BA4C
accent
#E7417B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #651F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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