#651F8E#651F8E

#651F8E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.173 H 309.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#651F8E
RGBrgb(101, 31, 142)
HSLhsl(278, 64%, 34%)
HSVhsv(278, 78%, 56%)
CMYKcmyk(28.9%, 78.2%, 0%, 44.3%)
CIE-LABlab(28.64, 49.29, -47.30)
CIE-LCHlch(28.64, 68.32, 316.18°)
OKLaboklab(40.7% 0.1097 -0.1342)
OKLCHoklch(40.7% 0.173 309.3)
XYZxyz(10.7383, 5.6999, 26.1204)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F8E #488E1F
analogous
#2E1F8E #651F8E #8E1F80
triadic
#651F8E #8E651F #1F8E65
tetradic
#651F8E #8E2E1F #488E1F #1F808E
square
#651F8E #8E2E1F #488E1F #1F808E
split-complementary
#651F8E #808E1F #1F8E2E
monochromatic
#1E092A #41145C #651F8E #892AC0 #A64FD9

Accessibility & contrast

On white

9.81
#651F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#651F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651F8E
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F8E#FFFFFF#000000##FFFFFF
##651F8E1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#5F3A56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #651f8e;
/* rgb */ color: rgb(101, 31, 142);
/* oklch */ color: oklch(40.7% 0.173 309.3);
Tailwind
colors: {
  custom: {
    50: '#9563b0',
    500: '#651f8e',
    950: '#000000',
  },
}
SCSS
$custom: #651f8e;
$custom-light: #9563b0;
$custom-dark: #000000;
JSON
{
  "hex": "#651f8e",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 277.838,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40704,
    "c": 0.17335,
    "h": 309.3
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#651F8E
secondary
#76BB4D
accent
#E7417E
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #651F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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