#582EAF#582EAF

#582EAF is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.190 H 291.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#582EAF
RGBrgb(88, 46, 175)
HSLhsl(260, 58%, 43%)
HSVhsv(260, 74%, 69%)
CMYKcmyk(49.7%, 73.7%, 0%, 31.4%)
CIE-LABlab(32.09, 48.60, -61.81)
CIE-LCHlch(32.09, 78.63, 308.18°)
OKLaboklab(43.62% 0.0691 -0.1774)
OKLCHoklch(43.62% 0.19 291.3)
XYZxyz(12.7372, 7.1234, 41.2530)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582EAF #85AF2E
analogous
#2E44AF #582EAF #982EAF
triadic
#582EAF #AF582E #2EAF58
tetradic
#582EAF #AF2E44 #85AF2E #2EAF98
square
#582EAF #AF2E44 #85AF2E #2EAF98
split-complementary
#582EAF #AF982E #44AF2E
monochromatic
#27154E #40217F #582EAF #764BD0 #9B7BDC

Accessibility & contrast

On white

8.66
#582EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#582EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582EAF
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582EAF#FFFFFF#000000##FFFFFF
##582EAF1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#3B506C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #582eaf;
/* rgb */ color: rgb(88, 46, 175);
/* oklch */ color: oklch(43.6% 0.190 291.3);
Tailwind
colors: {
  custom: {
    50: '#906bc8',
    500: '#582eaf',
    950: '#000000',
  },
}
SCSS
$custom: #582eaf;
$custom-light: #906bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#582eaf",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 259.535,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4362,
    "c": 0.19042,
    "h": 291.3
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#582EAF
secondary
#AAC574
accent
#E246AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #582EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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