#651B94#651B94

#651B94 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.183 H 307.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#651B94
RGBrgb(101, 27, 148)
HSLhsl(277, 69%, 34%)
HSVhsv(277, 82%, 58%)
CMYKcmyk(31.8%, 81.8%, 0%, 42%)
CIE-LABlab(28.61, 52.12, -51.05)
CIE-LCHlch(28.61, 72.96, 315.59°)
OKLaboklab(40.84% 0.1117 -0.1452)
OKLCHoklch(40.84% 0.183 307.6)
XYZxyz(11.1029, 5.6888, 28.5244)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651B94 #4A941B
analogous
#281B94 #651B94 #941B87
triadic
#651B94 #94651B #1B9465
tetradic
#651B94 #94281B #4A941B #1B8794
square
#651B94 #94281B #4A941B #1B8794
split-complementary
#651B94 #87941B #1B9428
monochromatic
#1E082C #421260 #651B94 #8824C8 #A54BDE

Accessibility & contrast

On white

9.82
#651B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #651B94
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651B94#FFFFFF#000000##FFFFFF
##651B941.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#5D3B58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #651b94;
/* rgb */ color: rgb(101, 27, 148);
/* oklch */ color: oklch(40.8% 0.183 307.6);
Tailwind
colors: {
  custom: {
    50: '#9662b4',
    500: '#651b94',
    950: '#000000',
  },
}
SCSS
$custom: #651b94;
$custom-light: #9662b4;
$custom-dark: #000000;
JSON
{
  "hex": "#651b94",
  "rgb": {
    "r": 101,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 276.694,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40835,
    "c": 0.18319,
    "h": 307.6
  },
  "luminance": 0.05689
}

Semantic roles & 50–950 ramp

primary
#651B94
secondary
#78C04B
accent
#EC3C80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #651B94

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

Preview Lab → · Contrast checker → · Palette generator →

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