#582FAB#582FAB

#582FAB is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.185 H 292.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#582FAB
RGBrgb(88, 47, 171)
HSLhsl(260, 57%, 43%)
HSVhsv(260, 73%, 67%)
CMYKcmyk(48.5%, 72.5%, 0%, 32.9%)
CIE-LABlab(31.91, 46.99, -59.70)
CIE-LCHlch(31.91, 75.97, 308.21°)
OKLaboklab(43.39% 0.0692 -0.1712)
OKLCHoklch(43.39% 0.185 292)
XYZxyz(12.3896, 7.0476, 39.2277)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FAB #82AB2F
analogous
#2F44AB #582FAB #962FAB
triadic
#582FAB #AB582F #2FAB58
tetradic
#582FAB #AB2F44 #82AB2F #2FAB96
square
#582FAB #AB2F44 #82AB2F #2FAB96
split-complementary
#582FAB #AB962F #44AB2F
monochromatic
#27154B #3F227B #582FAB #754ACD #9A7ADA

Accessibility & contrast

On white

8.72
#582FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#582FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FAB
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FAB#FFFFFF#000000##FFFFFF
##582FAB1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#3E4F6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #582fab;
/* rgb */ color: rgb(88, 47, 171);
/* oklch */ color: oklch(43.4% 0.185 292.0);
Tailwind
colors: {
  custom: {
    50: '#8f6bc5',
    500: '#582fab',
    950: '#000000',
  },
}
SCSS
$custom: #582fab;
$custom-light: #8f6bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#582fab",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 259.839,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43391,
    "c": 0.18467,
    "h": 292
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#582FAB
secondary
#A8C373
accent
#E048AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #582FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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