#651F8D#651F8D

#651F8D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.172 H 309.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#651F8D
RGBrgb(101, 31, 141)
HSLhsl(278, 64%, 34%)
HSVhsv(278, 78%, 55%)
CMYKcmyk(28.4%, 78%, 0%, 44.7%)
CIE-LABlab(28.56, 49.07, -46.81)
CIE-LCHlch(28.56, 67.81, 316.35°)
OKLaboklab(40.62% 0.1099 -0.1328)
OKLCHoklch(40.62% 0.172 309.6)
XYZxyz(10.6636, 5.6700, 25.7268)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F8D #478D1F
analogous
#2E1F8D #651F8D #8D1F7E
triadic
#651F8D #8D651F #1F8D65
tetradic
#651F8D #8D2E1F #478D1F #1F7E8D
square
#651F8D #8D2E1F #478D1F #1F7E8D
split-complementary
#651F8D #7E8D1F #1F8D2E
monochromatic
#1D0929 #41145B #651F8D #892ABF #A64ED8

Accessibility & contrast

On white

9.84
#651F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#651F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651F8D
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F8D#FFFFFF#000000##FFFFFF
##651F8D1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #651f8d;
/* rgb */ color: rgb(101, 31, 141);
/* oklch */ color: oklch(40.6% 0.172 309.6);
Tailwind
colors: {
  custom: {
    50: '#9563af',
    500: '#651f8d',
    950: '#000000',
  },
}
SCSS
$custom: #651f8d;
$custom-light: #9563af;
$custom-dark: #000000;
JSON
{
  "hex": "#651f8d",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 278.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40624,
    "c": 0.17237,
    "h": 309.6
  },
  "luminance": 0.0567
}

Semantic roles & 50–950 ramp

primary
#651F8D
secondary
#75BB4D
accent
#E7417D
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #651F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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