#651B8B#651B8B

#651B8B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.175 H 310.7°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#651B8B
RGBrgb(101, 27, 139)
HSLhsl(280, 67%, 33%)
HSVhsv(280, 81%, 55%)
CMYKcmyk(27.3%, 80.6%, 0%, 45.5%)
CIE-LABlab(27.89, 50.13, -46.67)
CIE-LCHlch(27.89, 68.49, 317.05°)
OKLaboklab(40.1% 0.1139 -0.1323)
OKLCHoklch(40.1% 0.175 310.7)
XYZxyz(10.4181, 5.4149, 24.9175)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651B8B #418B1B
analogous
#2D1B8B #651B8B #8B1B79
triadic
#651B8B #8B651B #1B8B65
tetradic
#651B8B #8B2D1B #418B1B #1B798B
square
#651B8B #8B2D1B #418B1B #1B798B
split-complementary
#651B8B #798B1B #1B8B2D
monochromatic
#1B0725 #401158 #651B8B #8A25BE #A845DB

Accessibility & contrast

On white

10.08
#651B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#651B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651B8B
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651B8B#FFFFFF#000000##FFFFFF
##651B8B1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#603753
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #651b8b;
/* rgb */ color: rgb(101, 27, 139);
/* oklch */ color: oklch(40.1% 0.175 310.7);
Tailwind
colors: {
  custom: {
    50: '#9561ae',
    500: '#651b8b',
    950: '#000000',
  },
}
SCSS
$custom: #651b8b;
$custom-light: #9561ae;
$custom-dark: #000000;
JSON
{
  "hex": "#651b8b",
  "rgb": {
    "r": 101,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 279.643,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40098,
    "c": 0.1746,
    "h": 310.7
  },
  "luminance": 0.05415
}

Semantic roles & 50–950 ramp

primary
#651B8B
secondary
#6EBC45
accent
#EA3D78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #651B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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