#582674#582674

#582674 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.133 H 311.2°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#582674
RGBrgb(88, 38, 116)
HSLhsl(278, 51%, 30%)
HSVhsv(278, 67%, 45%)
CMYKcmyk(24.1%, 67.2%, 0%, 54.5%)
CIE-LABlab(25.93, 37.20, -35.44)
CIE-LCHlch(25.93, 51.38, 316.39°)
OKLaboklab(37.76% 0.0873 -0.0999)
OKLCHoklch(37.76% 0.133 311.2)
XYZxyz(7.8694, 4.7221, 17.0165)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582674 #427426
analogous
#312674 #582674 #742669
triadic
#582674 #745826 #267458
tetradic
#582674 #743126 #427426 #266974
square
#582674 #743126 #427426 #266974
split-complementary
#582674 #697426 #267431
monochromatic
#120818 #351746 #582674 #7B35A2 #9B4FC5

Accessibility & contrast

On white

10.80
#582674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#582674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582674
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582674#FFFFFF#000000##FFFFFF
##5826741.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#1E3E72
Tritanopia (blue-blind)
#553549
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #582674;
/* rgb */ color: rgb(88, 38, 116);
/* oklch */ color: oklch(37.8% 0.133 311.2);
Tailwind
colors: {
  custom: {
    50: '#8a649c',
    500: '#582674',
    950: '#000000',
  },
}
SCSS
$custom: #582674;
$custom-light: #8a649c;
$custom-dark: #000000;
JSON
{
  "hex": "#582674",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 116
  },
  "hsl": {
    "h": 278.462,
    "s": 50.649,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37759,
    "c": 0.13268,
    "h": 311.2
  },
  "luminance": 0.04722
}

Semantic roles & 50–950 ramp

primary
#582674
secondary
#6FA64F
accent
#DA4E80
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #582674

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

Preview Lab → · Contrast checker → · Palette generator →

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