#651E8D#651E8D

#651E8D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.173 H 309.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#651E8D
RGBrgb(101, 30, 141)
HSLhsl(278, 65%, 34%)
HSVhsv(278, 79%, 55%)
CMYKcmyk(28.4%, 78.7%, 0%, 44.7%)
CIE-LABlab(28.43, 49.45, -47.03)
CIE-LCHlch(28.43, 68.24, 316.44°)
OKLaboklab(40.53% 0.1108 -0.1334)
OKLCHoklch(40.53% 0.173 309.7)
XYZxyz(10.6379, 5.6186, 25.7182)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651E8D #468D1E
analogous
#2D1E8D #651E8D #8D1E7D
triadic
#651E8D #8D651E #1E8D65
tetradic
#651E8D #8D2D1E #468D1E #1E7D8D
square
#651E8D #8D2D1E #468D1E #1E7D8D
split-complementary
#651E8D #7D8D1E #1E8D2D
monochromatic
#1D0928 #41135B #651E8D #8929BF #A64CD9

Accessibility & contrast

On white

9.89
#651E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#651E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651E8D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651E8D#FFFFFF#000000##FFFFFF
##651E8D1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#5F3955
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #651e8d;
/* rgb */ color: rgb(101, 30, 141);
/* oklch */ color: oklch(40.5% 0.173 309.7);
Tailwind
colors: {
  custom: {
    50: '#9562af',
    500: '#651e8d',
    950: '#000000',
  },
}
SCSS
$custom: #651e8d;
$custom-light: #9562af;
$custom-dark: #000000;
JSON
{
  "hex": "#651e8d",
  "rgb": {
    "r": 101,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 278.378,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40529,
    "c": 0.17344,
    "h": 309.7
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#651E8D
secondary
#74BC4B
accent
#E8407C
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #651E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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