#582FDB#582FDB

#582FDB is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.9% C 0.239 H 283.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#582FDB
RGBrgb(88, 47, 219)
HSLhsl(254, 70%, 52%)
HSVhsv(254, 79%, 86%)
CMYKcmyk(59.8%, 78.5%, 0%, 14.1%)
CIE-LABlab(36.41, 60.30, -80.47)
CIE-LCHlch(36.41, 100.55, 306.85°)
OKLaboklab(47.9% 0.0564 -0.232)
OKLCHoklch(47.9% 0.239 283.7)
XYZxyz(17.8233, 9.2210, 67.8447)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FDB #B2DB2F
analogous
#2F5CDB #582FDB #AE2FDB
triadic
#582FDB #DB582F #2FDB58
tetradic
#582FDB #DB2F5C #B2DB2F #2FDBAE
square
#582FDB #DB2F5C #B2DB2F #2FDBAE
split-complementary
#582FDB #DBAE2F #5CDB2F
monochromatic
#2D157A #411EAF #582FDB #8263E4 #AC97ED

Accessibility & contrast

On white

7.38
#582FDB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#582FDB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FDB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FDB#FFFFFF#000000##FFFFFF
##582FDB1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE0
Deuteranopia (green-blind)
#0050D8
Tritanopia (blue-blind)
#006285
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #582fdb;
/* rgb */ color: rgb(88, 47, 219);
/* oklch */ color: oklch(47.9% 0.239 283.7);
Tailwind
colors: {
  custom: {
    50: '#966ee8',
    500: '#582fdb',
    950: '#000000',
  },
}
SCSS
$custom: #582fdb;
$custom-light: #966ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#582fdb",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 219
  },
  "hsl": {
    "h": 254.302,
    "s": 70.492,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47899,
    "c": 0.23876,
    "h": 283.7
  },
  "luminance": 0.09222
}

Semantic roles & 50–950 ramp

primary
#582FDB
secondary
#C7D88D
accent
#ED3BC3
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #582FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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