#651F7F#651F7F

#651F7F is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.159 H 315.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#651F7F
RGBrgb(101, 31, 127)
HSLhsl(284, 61%, 31%)
HSVhsv(284, 76%, 50%)
CMYKcmyk(20.5%, 75.6%, 0%, 50.2%)
CIE-LABlab(27.52, 45.98, -39.76)
CIE-LCHlch(27.52, 60.79, 319.15°)
OKLaboklab(39.55% 0.1123 -0.1121)
OKLCHoklch(39.55% 0.159 315.1)
XYZxyz(9.6870, 5.2793, 20.5833)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F7F #397F1F
analogous
#351F7F #651F7F #7F1F69
triadic
#651F7F #7F651F #1F7F65
tetradic
#651F7F #7F351F #397F1F #1F697F
square
#651F7F #7F351F #397F1F #1F697F
split-complementary
#651F7F #697F1F #1F7F35
monochromatic
#17071D #3E134E #651F7F #8C2BB0 #AC46D2

Accessibility & contrast

On white

10.22
#651F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#651F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651F7F
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F7F#FFFFFF#000000##FFFFFF
##651F7F1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#1B437D
Tritanopia (blue-blind)
#63344D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #651f7f;
/* rgb */ color: rgb(101, 31, 127);
/* oklch */ color: oklch(39.6% 0.159 315.1);
Tailwind
colors: {
  custom: {
    50: '#9462a5',
    500: '#651f7f',
    950: '#000000',
  },
}
SCSS
$custom: #651f7f;
$custom-light: #9462a5;
$custom-dark: #000000;
JSON
{
  "hex": "#651f7f",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 283.75,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39552,
    "c": 0.15865,
    "h": 315.1
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#651F7F
secondary
#65B248
accent
#E4446F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #651F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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