#651271#651271

#651271 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.4% C 0.160 H 322.1°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#651271
RGBrgb(101, 18, 113)
HSLhsl(292, 73%, 26%)
HSVhsv(292, 84%, 44%)
CMYKcmyk(10.6%, 84.1%, 0%, 55.7%)
CIE-LABlab(24.93, 47.74, -35.01)
CIE-LCHlch(24.93, 59.20, 323.74°)
OKLaboklab(37.4% 0.1261 -0.0981)
OKLCHoklch(37.4% 0.16 322.1)
XYZxyz(8.5635, 4.3921, 16.0163)
Luminance0.0439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651271 #1E7112
analogous
#351271 #651271 #71124D
triadic
#651271 #716512 #127165
tetradic
#651271 #713512 #1E7112 #124D71
square
#651271 #713512 #1E7112 #124D71
split-complementary
#651271 #4D7112 #127135
monochromatic
#18041A #360A3C #651271 #941AA6 #C323DB

Accessibility & contrast

On white

11.18
#651271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#651271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651271
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651271#FFFFFF#000000##FFFFFF
##6512711.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#213E6F
Tritanopia (blue-blind)
#662642
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #651271;
/* rgb */ color: rgb(101, 18, 113);
/* oklch */ color: oklch(37.4% 0.160 322.1);
Tailwind
colors: {
  custom: {
    50: '#945c9a',
    500: '#651271',
    950: '#000000',
  },
}
SCSS
$custom: #651271;
$custom-light: #945c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#651271",
  "rgb": {
    "r": 101,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 292.421,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.37404,
    "c": 0.15975,
    "h": 322.1
  },
  "luminance": 0.04392
}

Semantic roles & 50–950 ramp

primary
#651271
secondary
#45A837
accent
#EF3950
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #651271

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

Preview Lab → · Contrast checker → · Palette generator →

#651271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva