#651F9B#651F9B

#651F9B is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.186 H 304.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#651F9B
RGBrgb(101, 31, 155)
HSLhsl(274, 67%, 36%)
HSVhsv(274, 80%, 61%)
CMYKcmyk(34.8%, 80%, 0%, 39.2%)
CIE-LABlab(29.70, 52.27, -53.58)
CIE-LCHlch(29.70, 74.85, 314.29°)
OKLaboklab(41.77% 0.1066 -0.1527)
OKLCHoklch(41.77% 0.186 304.9)
XYZxyz(11.7719, 6.1133, 31.5638)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F9B #559B1F
analogous
#271F9B #651F9B #9B1F93
triadic
#651F9B #9B651F #1F9B65
tetradic
#651F9B #9B271F #559B1F #1F939B
square
#651F9B #9B271F #559B1F #1F939B
split-complementary
#651F9B #939B1F #1F9B27
monochromatic
#230B35 #441568 #651F9B #8629CE #A357DD

Accessibility & contrast

On white

9.45
#651F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#651F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651F9B
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F9B#FFFFFF#000000##FFFFFF
##651F9B1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#5B405D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #651f9b;
/* rgb */ color: rgb(101, 31, 155);
/* oklch */ color: oklch(41.8% 0.186 304.9);
Tailwind
colors: {
  custom: {
    50: '#9664b9',
    500: '#651f9b',
    950: '#000000',
  },
}
SCSS
$custom: #651f9b;
$custom-light: #9664b9;
$custom-dark: #000000;
JSON
{
  "hex": "#651f9b",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 273.871,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41772,
    "c": 0.18619,
    "h": 304.9
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#651F9B
secondary
#84C155
accent
#EA3E89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #651F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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