#582078#582078

#582078 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.146 H 310.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#582078
RGBrgb(88, 32, 120)
HSLhsl(278, 58%, 30%)
HSVhsv(278, 73%, 47%)
CMYKcmyk(26.7%, 73.3%, 0%, 52.9%)
CIE-LABlab(25.15, 41.12, -39.24)
CIE-LCHlch(25.15, 56.84, 316.34°)
OKLaboklab(37.29% 0.0942 -0.111)
OKLCHoklch(37.29% 0.146 310.3)
XYZxyz(7.9305, 4.4640, 18.2095)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582078 #407820
analogous
#2C2078 #582078 #78206C
triadic
#582078 #785820 #207858
tetradic
#582078 #782C20 #407820 #206C78
square
#582078 #782C20 #407820 #206C78
split-complementary
#582078 #6C7820 #20782C
monochromatic
#120618 #351348 #582078 #7B2DA8 #9C45CD

Accessibility & contrast

On white

11.09
#582078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#582078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582078
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582078#FFFFFF#000000##FFFFFF
##5820781.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397B
Deuteranopia (green-blind)
#113D76
Tritanopia (blue-blind)
#543349
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #582078;
/* rgb */ color: rgb(88, 32, 120);
/* oklch */ color: oklch(37.3% 0.146 310.3);
Tailwind
colors: {
  custom: {
    50: '#8b61a0',
    500: '#582078',
    950: '#000000',
  },
}
SCSS
$custom: #582078;
$custom-light: #8b61a0;
$custom-dark: #000000;
JSON
{
  "hex": "#582078",
  "rgb": {
    "r": 88,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 278.182,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37292,
    "c": 0.14558,
    "h": 310.3
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#582078
secondary
#6CAB48
accent
#E1477F
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #582078

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

Preview Lab → · Contrast checker → · Palette generator →

#582078 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva