#651F89#651F89

#651F89 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.168 H 311.1°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#651F89
RGBrgb(101, 31, 137)
HSLhsl(280, 63%, 33%)
HSVhsv(280, 77%, 54%)
CMYKcmyk(26.3%, 77.4%, 0%, 46.3%)
CIE-LABlab(28.26, 48.17, -44.82)
CIE-LCHlch(28.26, 65.80, 317.06°)
OKLaboklab(40.31% 0.1107 -0.1269)
OKLCHoklch(40.31% 0.168 311.1)
XYZxyz(10.3713, 5.5531, 24.1876)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F89 #43891F
analogous
#301F89 #651F89 #891F78
triadic
#651F89 #89651F #1F8965
tetradic
#651F89 #89301F #43891F #1F7889
square
#651F89 #89301F #43891F #1F7889
split-complementary
#651F89 #78891F #1F8930
monochromatic
#1B0825 #401457 #651F89 #8A2ABB #A74CD6

Accessibility & contrast

On white

9.95
#651F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#651F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651F89
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F89#FFFFFF#000000##FFFFFF
##651F891.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #651f89;
/* rgb */ color: rgb(101, 31, 137);
/* oklch */ color: oklch(40.3% 0.168 311.1);
Tailwind
colors: {
  custom: {
    50: '#9563ac',
    500: '#651f89',
    950: '#000000',
  },
}
SCSS
$custom: #651f89;
$custom-light: #9563ac;
$custom-dark: #000000;
JSON
{
  "hex": "#651f89",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 279.623,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4031,
    "c": 0.16844,
    "h": 311.1
  },
  "luminance": 0.05553
}

Semantic roles & 50–950 ramp

primary
#651F89
secondary
#70B94B
accent
#E6427A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #651F89

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

Preview Lab → · Contrast checker → · Palette generator →

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