#582FD3#582FD3

#582FD3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.230 H 284.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#582FD3
RGBrgb(88, 47, 211)
HSLhsl(255, 65%, 51%)
HSVhsv(255, 78%, 83%)
CMYKcmyk(58.3%, 77.7%, 0%, 17.3%)
CIE-LABlab(35.62, 58.10, -77.16)
CIE-LCHlch(35.62, 96.59, 306.98°)
OKLaboklab(47.11% 0.0588 -0.2223)
OKLCHoklch(47.11% 0.23 284.8)
XYZxyz(16.7953, 8.8098, 62.4308)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FD3 #AAD32F
analogous
#2F58D3 #582FD3 #AA2FD3
triadic
#582FD3 #D3582F #2FD358
tetradic
#582FD3 #D32F58 #AAD32F #2FD3AA
square
#582FD3 #D32F58 #AAD32F #2FD3AA
split-complementary
#582FD3 #D3AA2F #58D32F
monochromatic
#2E1870 #4222A2 #582FD3 #8162DE #A994E8

Accessibility & contrast

On white

7.60
#582FD3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#582FD3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FD3
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FD3#FFFFFF#000000##FFFFFF
##582FD31.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D8
Deuteranopia (green-blind)
#004FD0
Tritanopia (blue-blind)
#0D5F81
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #582fd3;
/* rgb */ color: rgb(88, 47, 211);
/* oklch */ color: oklch(47.1% 0.230 284.8);
Tailwind
colors: {
  custom: {
    50: '#956de2',
    500: '#582fd3',
    950: '#000000',
  },
}
SCSS
$custom: #582fd3;
$custom-light: #956de2;
$custom-dark: #000000;
JSON
{
  "hex": "#582fd3",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 211
  },
  "hsl": {
    "h": 255,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47113,
    "c": 0.22998,
    "h": 284.8
  },
  "luminance": 0.08811
}

Semantic roles & 50–950 ramp

primary
#582FD3
secondary
#C1D38A
accent
#E840BE
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #582FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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