#651F8C#651F8C

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

Color values

HEX#651F8C
RGBrgb(101, 31, 140)
HSLhsl(279, 64%, 34%)
HSVhsv(279, 78%, 55%)
CMYKcmyk(27.9%, 77.9%, 0%, 45.1%)
CIE-LABlab(28.49, 48.84, -46.31)
CIE-LCHlch(28.49, 67.31, 316.52°)
OKLaboklab(40.54% 0.1101 -0.1313)
OKLCHoklch(40.54% 0.171 310)
XYZxyz(10.5895, 5.6404, 25.3367)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F8C #468C1F
analogous
#2E1F8C #651F8C #8C1F7C
triadic
#651F8C #8C651F #1F8C65
tetradic
#651F8C #8C2E1F #468C1F #1F7C8C
square
#651F8C #8C2E1F #468C1F #1F7C8C
split-complementary
#651F8C #7C8C1F #1F8C2E
monochromatic
#1D0928 #41145A #651F8C #892ABE #A64ED8

Accessibility & contrast

On white

9.87
#651F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#651F8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651F8C
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F8C#FFFFFF#000000##FFFFFF
##651F8C1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#5F3955
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #651f8c;
/* rgb */ color: rgb(101, 31, 140);
/* oklch */ color: oklch(40.5% 0.171 310.0);
Tailwind
colors: {
  custom: {
    50: '#9563ae',
    500: '#651f8c',
    950: '#000000',
  },
}
SCSS
$custom: #651f8c;
$custom-light: #9563ae;
$custom-dark: #000000;
JSON
{
  "hex": "#651f8c",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 140
  },
  "hsl": {
    "h": 278.532,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40545,
    "c": 0.17138,
    "h": 310
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#651F8C
secondary
#74BB4C
accent
#E7417C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #651F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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