#582394#582394

#582394 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.172 H 299.8°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#582394
RGBrgb(88, 35, 148)
HSLhsl(268, 62%, 36%)
HSVhsv(268, 76%, 58%)
CMYKcmyk(40.5%, 76.4%, 0%, 42%)
CIE-LABlab(27.89, 46.64, -52.32)
CIE-LCHlch(27.89, 70.09, 311.72°)
OKLaboklab(39.93% 0.0856 -0.1495)
OKLCHoklch(39.93% 0.172 299.8)
XYZxyz(9.9695, 5.4148, 28.5311)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582394 #5F9423
analogous
#232694 #582394 #902394
triadic
#582394 #945823 #239458
tetradic
#582394 #942326 #5F9423 #239490
square
#582394 #942326 #5F9423 #239490
split-complementary
#582394 #949023 #269423
monochromatic
#1D0C31 #3B1763 #582394 #752FC5 #955AD8

Accessibility & contrast

On white

10.08
#582394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#582394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582394
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582394#FFFFFF#000000##FFFFFF
##5823941.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#4A405A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582394;
/* rgb */ color: rgb(88, 35, 148);
/* oklch */ color: oklch(39.9% 0.172 299.8);
Tailwind
colors: {
  custom: {
    50: '#8d64b4',
    500: '#582394',
    950: '#000000',
  },
}
SCSS
$custom: #582394;
$custom-light: #8d64b4;
$custom-dark: #000000;
JSON
{
  "hex": "#582394",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 268.142,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39933,
    "c": 0.17224,
    "h": 299.8
  },
  "luminance": 0.05415
}

Semantic roles & 50–950 ramp

primary
#582394
secondary
#8DBC57
accent
#E54399
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582394

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

Preview Lab → · Contrast checker → · Palette generator →

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