#651F97#651F97

#651F97 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.182 H 306.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#651F97
RGBrgb(101, 31, 151)
HSLhsl(275, 66%, 36%)
HSVhsv(275, 79%, 59%)
CMYKcmyk(33.1%, 79.5%, 0%, 40.8%)
CIE-LABlab(29.36, 51.34, -51.67)
CIE-LCHlch(29.36, 72.84, 314.82°)
OKLaboklab(41.44% 0.1076 -0.1471)
OKLCHoklch(41.44% 0.182 306.2)
XYZxyz(11.4415, 5.9811, 29.8239)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F97 #51971F
analogous
#291F97 #651F97 #971F8D
triadic
#651F97 #97651F #1F9765
tetradic
#651F97 #97291F #51971F #1F8D97
square
#651F97 #97291F #51971F #1F8D97
split-complementary
#651F97 #8D971F #1F9729
monochromatic
#210A31 #431564 #651F97 #8729CA #A354DC

Accessibility & contrast

On white

9.56
#651F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#651F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651F97
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F97#FFFFFF#000000##FFFFFF
##651F971.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#5C3E5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #651f97;
/* rgb */ color: rgb(101, 31, 151);
/* oklch */ color: oklch(41.4% 0.182 306.2);
Tailwind
colors: {
  custom: {
    50: '#9663b6',
    500: '#651f97',
    950: '#000000',
  },
}
SCSS
$custom: #651f97;
$custom-light: #9663b6;
$custom-dark: #000000;
JSON
{
  "hex": "#651f97",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 275,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41437,
    "c": 0.18223,
    "h": 306.2
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#651F97
secondary
#80BF52
accent
#E93F86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #651F97

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

Preview Lab → · Contrast checker → · Palette generator →

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