#651F9D#651F9D

#651F9D is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.188 H 304.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#651F9D
RGBrgb(101, 31, 157)
HSLhsl(273, 67%, 37%)
HSVhsv(273, 80%, 62%)
CMYKcmyk(35.7%, 80.3%, 0%, 38.4%)
CIE-LABlab(29.86, 52.73, -54.52)
CIE-LCHlch(29.86, 75.85, 314.04°)
OKLaboklab(41.94% 0.106 -0.1554)
OKLCHoklch(41.94% 0.188 304.3)
XYZxyz(11.9412, 6.1810, 32.4557)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F9D #579D1F
analogous
#261F9D #651F9D #9D1F96
triadic
#651F9D #9D651F #1F9D65
tetradic
#651F9D #9D261F #579D1F #1F969D
square
#651F9D #9D261F #579D1F #1F969D
split-complementary
#651F9D #969D1F #1F9D26
monochromatic
#230B37 #44156A #651F9D #8629D0 #A358DE

Accessibility & contrast

On white

9.39
#651F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#651F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651F9D
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F9D#FFFFFF#000000##FFFFFF
##651F9D1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#5A415E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #651f9d;
/* rgb */ color: rgb(101, 31, 157);
/* oklch */ color: oklch(41.9% 0.188 304.3);
Tailwind
colors: {
  custom: {
    50: '#9764bb',
    500: '#651f9d',
    950: '#000000',
  },
}
SCSS
$custom: #651f9d;
$custom-light: #9764bb;
$custom-dark: #000000;
JSON
{
  "hex": "#651f9d",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 273.333,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41942,
    "c": 0.18816,
    "h": 304.3
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#651F9D
secondary
#86C256
accent
#EA3E8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #651F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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