#511250#511250

#511250 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.8% C 0.121 H 328.6°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#511250
RGBrgb(81, 18, 80)
HSLhsl(301, 64%, 19%)
HSVhsv(301, 78%, 32%)
CMYKcmyk(0%, 77.8%, 1.2%, 68.2%)
CIE-LABlab(19.06, 36.93, -22.80)
CIE-LCHlch(19.06, 43.41, 328.31°)
OKLaboklab(31.82% 0.1035 -0.0631)
OKLCHoklch(31.82% 0.121 328.6)
XYZxyz(5.0576, 2.7615, 7.8545)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511250 #125113
analogous
#331251 #511250 #511231
triadic
#511250 #505112 #125051
tetradic
#511250 #513312 #125113 #123151
square
#511250 #513312 #125113 #123151
split-complementary
#511250 #315112 #125133
monochromatic
#190619 #1F071F #511250 #831D81 #B528B3

Accessibility & contrast

On white

13.53
#511250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511250
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511250#FFFFFF#000000##FFFFFF
##5112501.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082952
Deuteranopia (green-blind)
#23314E
Tritanopia (blue-blind)
#541B2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511250;
/* rgb */ color: rgb(81, 18, 80);
/* oklch */ color: oklch(31.8% 0.121 328.6);
Tailwind
colors: {
  custom: {
    50: '#845781',
    500: '#511250',
    950: '#000000',
  },
}
SCSS
$custom: #511250;
$custom-light: #845781;
$custom-dark: #000000;
JSON
{
  "hex": "#511250",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 300.952,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31821,
    "c": 0.12124,
    "h": 328.6
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#511250
secondary
#358A36
accent
#E74441
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #511250

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

Preview Lab → · Contrast checker → · Palette generator →

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