#582178#582178

#582178 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.144 H 310.2°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#582178
RGBrgb(88, 33, 120)
HSLhsl(278, 57%, 30%)
HSVhsv(278, 73%, 47%)
CMYKcmyk(26.7%, 72.5%, 0%, 52.9%)
CIE-LABlab(25.32, 40.65, -38.97)
CIE-LCHlch(25.32, 56.31, 316.20°)
OKLaboklab(37.41% 0.093 -0.1102)
OKLCHoklch(37.41% 0.144 310.2)
XYZxyz(7.9579, 4.5187, 18.2186)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582178 #417821
analogous
#2C2178 #582178 #78216D
triadic
#582178 #785821 #217858
tetradic
#582178 #782C21 #417821 #216D78
square
#582178 #782C21 #417821 #216D78
split-complementary
#582178 #6D7821 #21782C
monochromatic
#120718 #351448 #582178 #7B2EA8 #9B47CC

Accessibility & contrast

On white

11.03
#582178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#582178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582178
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582178#FFFFFF#000000##FFFFFF
##5821781.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#123D76
Tritanopia (blue-blind)
#54344A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #582178;
/* rgb */ color: rgb(88, 33, 120);
/* oklch */ color: oklch(37.4% 0.144 310.2);
Tailwind
colors: {
  custom: {
    50: '#8b61a0',
    500: '#582178',
    950: '#000000',
  },
}
SCSS
$custom: #582178;
$custom-light: #8b61a0;
$custom-dark: #000000;
JSON
{
  "hex": "#582178",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 277.931,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.37411,
    "c": 0.14424,
    "h": 310.2
  },
  "luminance": 0.04518
}

Semantic roles & 50–950 ramp

primary
#582178
secondary
#6EAB4A
accent
#E04880
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #582178

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

Preview Lab → · Contrast checker → · Palette generator →

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