#651B8F#651B8F

#651B8F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.178 H 309.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#651B8F
RGBrgb(101, 27, 143)
HSLhsl(278, 68%, 33%)
HSVhsv(278, 81%, 56%)
CMYKcmyk(29.4%, 81.1%, 0%, 43.9%)
CIE-LABlab(28.20, 51.01, -48.63)
CIE-LCHlch(28.20, 70.48, 316.37°)
OKLaboklab(40.42% 0.113 -0.1381)
OKLCHoklch(40.42% 0.178 309.3)
XYZxyz(10.7157, 5.5339, 26.4849)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651B8F #458F1B
analogous
#2B1B8F #651B8F #8F1B7F
triadic
#651B8F #8F651B #1B8F65
tetradic
#651B8F #8F2B1B #458F1B #1B7F8F
square
#651B8F #8F2B1B #458F1B #1B7F8F
split-complementary
#651B8F #7F8F1B #1B8F2B
monochromatic
#1C0828 #41115C #651B8F #8925C2 #A748DC

Accessibility & contrast

On white

9.97
#651B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651B8F
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651B8F#FFFFFF#000000##FFFFFF
##651B8F1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#5F3955
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #651b8f;
/* rgb */ color: rgb(101, 27, 143);
/* oklch */ color: oklch(40.4% 0.178 309.3);
Tailwind
colors: {
  custom: {
    50: '#9661b1',
    500: '#651b8f',
    950: '#000000',
  },
}
SCSS
$custom: #651b8f;
$custom-light: #9661b1;
$custom-dark: #000000;
JSON
{
  "hex": "#651b8f",
  "rgb": {
    "r": 101,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 278.276,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40422,
    "c": 0.17842,
    "h": 309.3
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#651B8F
secondary
#73BE48
accent
#EB3D7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #651B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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