#582794#582794

#582794 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.168 H 299.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#582794
RGBrgb(88, 39, 148)
HSLhsl(267, 58%, 37%)
HSVhsv(267, 74%, 58%)
CMYKcmyk(40.5%, 73.6%, 0%, 42%)
CIE-LABlab(28.55, 44.76, -51.24)
CIE-LCHlch(28.55, 68.04, 311.14°)
OKLaboklab(40.4% 0.0817 -0.1463)
OKLCHoklch(40.4% 0.168 299.2)
XYZxyz(10.0940, 5.6637, 28.5726)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582794 #639427
analogous
#272D94 #582794 #8F2794
triadic
#582794 #945827 #279458
tetradic
#582794 #94272D #639427 #27948F
square
#582794 #94272D #639427 #27948F
split-complementary
#582794 #948F27 #2D9427
monochromatic
#1E0D33 #3B1A64 #582794 #7534C4 #9560D5

Accessibility & contrast

On white

9.85
#582794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#582794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582794
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582794#FFFFFF#000000##FFFFFF
##5827941.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#4A425B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #582794;
/* rgb */ color: rgb(88, 39, 148);
/* oklch */ color: oklch(40.4% 0.168 299.2);
Tailwind
colors: {
  custom: {
    50: '#8d66b4',
    500: '#582794',
    950: '#000000',
  },
}
SCSS
$custom: #582794;
$custom-light: #8d66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#582794",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 266.972,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40401,
    "c": 0.16761,
    "h": 299.2
  },
  "luminance": 0.05664
}

Semantic roles & 50–950 ramp

primary
#582794
secondary
#90BB5C
accent
#E2469C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582794

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

Preview Lab → · Contrast checker → · Palette generator →

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