#581380#581380

#581380 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.168 H 308.5°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#581380
RGBrgb(88, 19, 128)
HSLhsl(278, 74%, 29%)
HSVhsv(278, 85%, 50%)
CMYKcmyk(31.3%, 85.2%, 0%, 49.8%)
CIE-LABlab(24.00, 48.11, -46.19)
CIE-LCHlch(24.00, 66.69, 316.17°)
OKLaboklab(36.68% 0.1045 -0.1313)
OKLCHoklch(36.68% 0.168 308.5)
XYZxyz(8.1528, 4.0991, 20.7796)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581380 #3B8013
analogous
#221380 #581380 #801372
triadic
#581380 #805813 #138058
tetradic
#581380 #802213 #3B8013 #137280
square
#581380 #802213 #3B8013 #137280
split-complementary
#581380 #728013 #138022
monochromatic
#12041B #330B4B #581380 #7D1BB5 #9E2DE0

Accessibility & contrast

On white

11.54
#581380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#581380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581380
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581380#FFFFFF#000000##FFFFFF
##5813801.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#52314B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581380;
/* rgb */ color: rgb(88, 19, 128);
/* oklch */ color: oklch(36.7% 0.168 308.5);
Tailwind
colors: {
  custom: {
    50: '#8c5ba6',
    500: '#581380',
    950: '#000000',
  },
}
SCSS
$custom: #581380;
$custom-light: #8c5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#581380",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 277.982,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36681,
    "c": 0.16786,
    "h": 308.5
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

primary
#581380
secondary
#67B539
accent
#F1377B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #581380

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

Preview Lab → · Contrast checker → · Palette generator →

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