#581267#581267

#581267 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.145 H 319.7°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#581267
RGBrgb(88, 18, 103)
HSLhsl(289, 70%, 24%)
HSVhsv(289, 83%, 40%)
CMYKcmyk(14.6%, 82.5%, 0%, 59.6%)
CIE-LABlab(21.90, 43.08, -33.52)
CIE-LCHlch(21.90, 54.58, 322.11°)
OKLaboklab(34.59% 0.1109 -0.0941)
OKLCHoklch(34.59% 0.145 319.7)
XYZxyz(6.6887, 3.4869, 13.1501)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581267 #216712
analogous
#2D1267 #581267 #67124B
triadic
#581267 #675812 #126758
tetradic
#581267 #672D12 #216712 #124B67
square
#581267 #672D12 #216712 #124B67
split-complementary
#581267 #4B6712 #12672D
monochromatic
#16051A #2B0933 #581267 #851B9B #B124CF

Accessibility & contrast

On white

12.37
#581267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#581267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581267
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581267#FFFFFF#000000##FFFFFF
##5812671.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#1A3765
Tritanopia (blue-blind)
#58243C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581267;
/* rgb */ color: rgb(88, 18, 103);
/* oklch */ color: oklch(34.6% 0.145 319.7);
Tailwind
colors: {
  custom: {
    50: '#8a5a93',
    500: '#581267',
    950: '#000000',
  },
}
SCSS
$custom: #581267;
$custom-light: #8a5a93;
$custom-dark: #000000;
JSON
{
  "hex": "#581267",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 289.412,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34587,
    "c": 0.14546,
    "h": 319.7
  },
  "luminance": 0.03487
}

Semantic roles & 50–950 ramp

primary
#581267
secondary
#499F36
accent
#ED3B5A
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #581267

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

Preview Lab → · Contrast checker → · Palette generator →

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