#582FBD#582FBD

#582FBD is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.0% C 0.205 H 288.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#582FBD
RGBrgb(88, 47, 189)
HSLhsl(257, 60%, 46%)
HSVhsv(257, 75%, 74%)
CMYKcmyk(53.4%, 75.1%, 0%, 25.9%)
CIE-LABlab(33.52, 52.00, -67.76)
CIE-LCHlch(33.52, 85.41, 307.50°)
OKLaboklab(45.02% 0.0649 -0.1949)
OKLCHoklch(45.02% 0.205 288.4)
XYZxyz(14.2236, 7.7812, 48.8867)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FBD #94BD2F
analogous
#2F4DBD #582FBD #9F2FBD
triadic
#582FBD #BD582F #2FBD58
tetradic
#582FBD #BD2F4D #94BD2F #2FBD9F
square
#582FBD #BD2F4D #94BD2F #2FBD9F
split-complementary
#582FBD #BD9F2F #4DBD2F
monochromatic
#2A175B #41238C #582FBD #7A55D5 #A086E1

Accessibility & contrast

On white

8.21
#582FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#582FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FBD
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FBD#FFFFFF#000000##FFFFFF
##582FBD1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#305674
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #582fbd;
/* rgb */ color: rgb(88, 47, 189);
/* oklch */ color: oklch(45.0% 0.205 288.4);
Tailwind
colors: {
  custom: {
    50: '#926cd2',
    500: '#582fbd',
    950: '#000000',
  },
}
SCSS
$custom: #582fbd;
$custom-light: #926cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#582fbd",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 257.324,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45018,
    "c": 0.20537,
    "h": 288.4
  },
  "luminance": 0.07782
}

Semantic roles & 50–950 ramp

primary
#582FBD
secondary
#B4CA7E
accent
#E344B5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #582FBD

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

Preview Lab → · Contrast checker → · Palette generator →

#582FBD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva