#651B95#651B95

#651B95 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.184 H 307.2°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#651B95
RGBrgb(101, 27, 149)
HSLhsl(276, 69%, 35%)
HSVhsv(276, 82%, 58%)
CMYKcmyk(32.2%, 81.9%, 0%, 41.6%)
CIE-LABlab(28.70, 52.34, -51.53)
CIE-LCHlch(28.70, 73.45, 315.45°)
OKLaboklab(40.92% 0.1114 -0.1466)
OKLCHoklch(40.92% 0.184 307.2)
XYZxyz(11.1824, 5.7206, 28.9430)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651B95 #4B951B
analogous
#281B95 #651B95 #951B88
triadic
#651B95 #95651B #1B9565
tetradic
#651B95 #95281B #4B951B #1B8895
square
#651B95 #95281B #4B951B #1B8895
split-complementary
#651B95 #88951B #1B9528
monochromatic
#1F082D #421261 #651B95 #8824C9 #A54CDF

Accessibility & contrast

On white

9.79
#651B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#651B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651B95
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651B95#FFFFFF#000000##FFFFFF
##651B951.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#5D3B59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #651b95;
/* rgb */ color: rgb(101, 27, 149);
/* oklch */ color: oklch(40.9% 0.184 307.2);
Tailwind
colors: {
  custom: {
    50: '#9662b5',
    500: '#651b95',
    950: '#000000',
  },
}
SCSS
$custom: #651b95;
$custom-light: #9662b5;
$custom-dark: #000000;
JSON
{
  "hex": "#651b95",
  "rgb": {
    "r": 101,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 276.393,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40918,
    "c": 0.18415,
    "h": 307.2
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#651B95
secondary
#79C14B
accent
#EC3C81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #651B95

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

Preview Lab → · Contrast checker → · Palette generator →

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