#581DED#581DED

#581DED is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 48.3% C 0.269 H 282.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#581DED
RGBrgb(88, 29, 237)
HSLhsl(257, 85%, 52%)
HSVhsv(257, 88%, 93%)
CMYKcmyk(62.9%, 87.8%, 0%, 7.1%)
CIE-LABlab(36.11, 71.51, -91.23)
CIE-LCHlch(36.11, 115.92, 308.09°)
OKLaboklab(48.26% 0.058 -0.2631)
OKLCHoklch(48.26% 0.269 282.4)
XYZxyz(19.7452, 9.0664, 80.8138)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581DED #B2ED1D
analogous
#1D4AED #581DED #C01DED
triadic
#581DED #ED581D #1DED58
tetradic
#581DED #ED1D4A #B2ED1D #1DEDC0
square
#581DED #ED1D4A #B2ED1D #1DEDC0
split-complementary
#581DED #EDC01D #4AED1D
monochromatic
#2D0B85 #410FBE #581DED #8256F2 #AC8EF6

Accessibility & contrast

On white

7.46
#581DED on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#581DED on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581DED
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581DED#FFFFFF#000000##FFFFFF
##581DED1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BF2
Deuteranopia (green-blind)
#004EEA
Tritanopia (blue-blind)
#00658D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #581ded;
/* rgb */ color: rgb(88, 29, 237);
/* oklch */ color: oklch(48.3% 0.269 282.4);
Tailwind
colors: {
  custom: {
    50: '#9a67f5',
    500: '#581ded',
    950: '#000000',
  },
}
SCSS
$custom: #581ded;
$custom-light: #9a67f5;
$custom-dark: #000000;
JSON
{
  "hex": "#581ded",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 237
  },
  "hsl": {
    "h": 257.019,
    "s": 85.246,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48256,
    "c": 0.26939,
    "h": 282.4
  },
  "luminance": 0.09068
}

Semantic roles & 50–950 ramp

primary
#581DED
secondary
#C7E085
accent
#FB2CC1
background
#FAF6FF
surface
#F4EBFF
border
#CEC6D7
text
#100717
muted
#7F7A85

Preview Lab

Preview with #581DED

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

Preview Lab → · Contrast checker → · Palette generator →

#581DED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva