#651FA7#651FA7

#651FA7 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.198 H 301.4°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#651FA7
RGBrgb(101, 31, 167)
HSLhsl(271, 69%, 39%)
HSVhsv(271, 81%, 65%)
CMYKcmyk(39.5%, 81.4%, 0%, 34.5%)
CIE-LABlab(30.73, 55.08, -59.17)
CIE-LCHlch(30.73, 80.84, 312.95°)
OKLaboklab(42.81% 0.1031 -0.1691)
OKLCHoklch(42.81% 0.198 301.4)
XYZxyz(12.8302, 6.5366, 37.1375)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651FA7 #61A71F
analogous
#211FA7 #651FA7 #A71FA5
triadic
#651FA7 #A7651F #1FA765
tetradic
#651FA7 #A7211F #61A71F #1FA5A7
square
#651FA7 #A7211F #61A71F #1FA5A7
split-complementary
#651FA7 #A5A71F #1FA721
monochromatic
#270C40 #461573 #651FA7 #842BD8 #A25FE1

Accessibility & contrast

On white

9.10
#651FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#651FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651FA7
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651FA7#FFFFFF#000000##FFFFFF
##651FA71.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#564564
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #651fa7;
/* rgb */ color: rgb(101, 31, 167);
/* oklch */ color: oklch(42.8% 0.198 301.4);
Tailwind
colors: {
  custom: {
    50: '#9864c2',
    500: '#651fa7',
    950: '#000000',
  },
}
SCSS
$custom: #651fa7;
$custom-light: #9864c2;
$custom-dark: #000000;
JSON
{
  "hex": "#651fa7",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 270.882,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42809,
    "c": 0.19805,
    "h": 301.4
  },
  "luminance": 0.06537
}

Semantic roles & 50–950 ramp

primary
#651FA7
secondary
#8FC65C
accent
#EC3C91
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #651FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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