#582FBE#582FBE

#582FBE is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.206 H 288.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#582FBE
RGBrgb(88, 47, 190)
HSLhsl(257, 60%, 46%)
HSVhsv(257, 75%, 75%)
CMYKcmyk(53.7%, 75.3%, 0%, 25.5%)
CIE-LABlab(33.62, 52.27, -68.20)
CIE-LCHlch(33.62, 85.93, 307.47°)
OKLaboklab(45.11% 0.0646 -0.1961)
OKLCHoklch(45.11% 0.207 288.2)
XYZxyz(14.3325, 7.8247, 49.4603)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FBE #95BE2F
analogous
#2F4DBE #582FBE #A02FBE
triadic
#582FBE #BE582F #2FBE58
tetradic
#582FBE #BE2F4D #95BE2F #2FBEA0
square
#582FBE #BE2F4D #95BE2F #2FBEA0
split-complementary
#582FBE #BEA02F #4DBE2F
monochromatic
#2B175C #41238D #582FBE #7A55D5 #A086E1

Accessibility & contrast

On white

8.19
#582FBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#582FBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FBE
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FBE#FFFFFF#000000##FFFFFF
##582FBE1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C2
Deuteranopia (green-blind)
#004BBB
Tritanopia (blue-blind)
#2F5775
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #582fbe;
/* rgb */ color: rgb(88, 47, 190);
/* oklch */ color: oklch(45.1% 0.206 288.2);
Tailwind
colors: {
  custom: {
    50: '#926cd3',
    500: '#582fbe',
    950: '#000000',
  },
}
SCSS
$custom: #582fbe;
$custom-light: #926cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#582fbe",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 257.203,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45111,
    "c": 0.2065,
    "h": 288.2
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#582FBE
secondary
#B5CB7E
accent
#E344B6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #582FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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