#581275#581275

#581275 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.7% C 0.158 H 313.1°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#581275
RGBrgb(88, 18, 117)
HSLhsl(282, 73%, 26%)
HSVhsv(282, 85%, 46%)
CMYKcmyk(24.8%, 84.6%, 0%, 54.1%)
CIE-LABlab(22.97, 46.01, -40.85)
CIE-LCHlch(22.97, 61.53, 318.40°)
OKLaboklab(35.68% 0.1082 -0.1156)
OKLCHoklch(35.68% 0.158 313.1)
XYZxyz(7.4511, 3.7919, 17.1656)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581275 #2F7512
analogous
#271275 #581275 #751261
triadic
#581275 #755812 #127558
tetradic
#581275 #752712 #2F7512 #126175
square
#581275 #752712 #2F7512 #126175
split-complementary
#581275 #617512 #127527
monochromatic
#14041B #300A40 #581275 #801AAA #A724DD

Accessibility & contrast

On white

11.94
#581275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#581275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581275
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581275#FFFFFF#000000##FFFFFF
##5812751.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#023873
Tritanopia (blue-blind)
#552B45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581275;
/* rgb */ color: rgb(88, 18, 117);
/* oklch */ color: oklch(35.7% 0.158 313.1);
Tailwind
colors: {
  custom: {
    50: '#8b5a9d',
    500: '#581275',
    950: '#000000',
  },
}
SCSS
$custom: #581275;
$custom-light: #8b5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581275",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 282.424,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35681,
    "c": 0.15838,
    "h": 313.1
  },
  "luminance": 0.03792
}

Semantic roles & 50–950 ramp

primary
#581275
secondary
#59AC37
accent
#F0386E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581275

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

Preview Lab → · Contrast checker → · Palette generator →

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