#581482#581482

#581482 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.169 H 307.7°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#581482
RGBrgb(88, 20, 130)
HSLhsl(277, 73%, 29%)
HSVhsv(277, 85%, 51%)
CMYKcmyk(32.3%, 84.6%, 0%, 49%)
CIE-LABlab(24.28, 48.24, -46.99)
CIE-LCHlch(24.28, 67.34, 315.75°)
OKLaboklab(36.93% 0.1032 -0.1337)
OKLCHoklch(36.93% 0.169 307.7)
XYZxyz(8.3031, 4.1868, 21.4855)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581482 #3E8214
analogous
#211482 #581482 #821475
triadic
#581482 #825814 #148258
tetradic
#581482 #822114 #3E8214 #147582
square
#581482 #822114 #3E8214 #147582
split-complementary
#581482 #758214 #148221
monochromatic
#12041B #340C4D #581482 #7C1CB7 #9D31DF

Accessibility & contrast

On white

11.43
#581482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#581482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581482
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581482#FFFFFF#000000##FFFFFF
##5814821.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003A80
Tritanopia (blue-blind)
#51324C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #581482;
/* rgb */ color: rgb(88, 20, 130);
/* oklch */ color: oklch(36.9% 0.169 307.7);
Tailwind
colors: {
  custom: {
    50: '#8c5ca7',
    500: '#581482',
    950: '#000000',
  },
}
SCSS
$custom: #581482;
$custom-light: #8c5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#581482",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 130
  },
  "hsl": {
    "h": 277.091,
    "s": 73.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36932,
    "c": 0.1689,
    "h": 307.7
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

primary
#581482
secondary
#6AB73B
accent
#F0387E
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0410
muted
#7E797F

Preview Lab

Preview with #581482

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

Preview Lab → · Contrast checker → · Palette generator →

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