#651F8A#651F8A

#651F8A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.169 H 310.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#651F8A
RGBrgb(101, 31, 138)
HSLhsl(279, 63%, 33%)
HSVhsv(279, 78%, 54%)
CMYKcmyk(26.8%, 77.5%, 0%, 45.9%)
CIE-LABlab(28.33, 48.39, -45.32)
CIE-LCHlch(28.33, 66.30, 316.88°)
OKLaboklab(40.39% 0.1105 -0.1284)
OKLCHoklch(40.39% 0.169 310.7)
XYZxyz(10.4434, 5.5819, 24.5671)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F8A #448A1F
analogous
#2F1F8A #651F8A #8A1F79
triadic
#651F8A #8A651F #1F8A65
tetradic
#651F8A #8A2F1F #448A1F #1F798A
square
#651F8A #8A2F1F #448A1F #1F798A
split-complementary
#651F8A #798A1F #1F8A2F
monochromatic
#1C0926 #401458 #651F8A #8A2ABC #A74CD7

Accessibility & contrast

On white

9.92
#651F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651F8A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F8A#FFFFFF#000000##FFFFFF
##651F8A1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#054488
Tritanopia (blue-blind)
#603853
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #651f8a;
/* rgb */ color: rgb(101, 31, 138);
/* oklch */ color: oklch(40.4% 0.169 310.7);
Tailwind
colors: {
  custom: {
    50: '#9563ad',
    500: '#651f8a',
    950: '#000000',
  },
}
SCSS
$custom: #651f8a;
$custom-light: #9563ad;
$custom-dark: #000000;
JSON
{
  "hex": "#651f8a",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 279.252,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40388,
    "c": 0.16942,
    "h": 310.7
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#651F8A
secondary
#71BA4B
accent
#E6417A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #651F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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