#582BD3#582BD3

#582BD3 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.7% C 0.233 H 285.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#582BD3
RGBrgb(88, 43, 211)
HSLhsl(256, 66%, 50%)
HSVhsv(256, 80%, 83%)
CMYKcmyk(58.3%, 79.6%, 0%, 17.3%)
CIE-LABlab(35.01, 59.84, -78.16)
CIE-LCHlch(35.01, 98.44, 307.44°)
OKLaboklab(46.69% 0.0612 -0.2252)
OKLCHoklch(46.69% 0.233 285.2)
XYZxyz(16.6427, 8.5046, 62.3800)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582BD3 #A6D32B
analogous
#2B52D3 #582BD3 #AC2BD3
triadic
#582BD3 #D3582B #2BD358
tetradic
#582BD3 #D32B52 #A6D32B #2BD3AC
square
#582BD3 #D32B52 #A6D32B #2BD3AC
split-complementary
#582BD3 #D3AC2B #52D32B
monochromatic
#2E166D #4321A0 #582BD3 #805DDE #A890E8

Accessibility & contrast

On white

7.77
#582BD3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#582BD3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582BD3
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582BD3#FFFFFF#000000##FFFFFF
##582BD31.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D8
Deuteranopia (green-blind)
#004DD0
Tritanopia (blue-blind)
#0E5E80
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #582bd3;
/* rgb */ color: rgb(88, 43, 211);
/* oklch */ color: oklch(46.7% 0.233 285.2);
Tailwind
colors: {
  custom: {
    50: '#956be2',
    500: '#582bd3',
    950: '#000000',
  },
}
SCSS
$custom: #582bd3;
$custom-light: #956be2;
$custom-dark: #000000;
JSON
{
  "hex": "#582bd3",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 211
  },
  "hsl": {
    "h": 256.071,
    "s": 66.142,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46694,
    "c": 0.23336,
    "h": 285.2
  },
  "luminance": 0.08506
}

Semantic roles & 50–950 ramp

primary
#582BD3
secondary
#BFD387
accent
#E93FBB
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #582BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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