#582693#582693

#582693 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.168 H 299.6°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#582693
RGBrgb(88, 38, 147)
HSLhsl(268, 59%, 36%)
HSVhsv(268, 74%, 58%)
CMYKcmyk(40.1%, 74.1%, 0%, 42.4%)
CIE-LABlab(28.29, 44.99, -51.04)
CIE-LCHlch(28.29, 68.03, 311.39°)
OKLaboklab(40.2% 0.0829 -0.1457)
OKLCHoklch(40.2% 0.168 299.6)
XYZxyz(9.9828, 5.5674, 28.1468)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582693 #619326
analogous
#262B93 #582693 #8F2693
triadic
#582693 #935826 #269358
tetradic
#582693 #93262B #619326 #26938F
square
#582693 #93262B #619326 #26938F
split-complementary
#582693 #938F26 #2B9326
monochromatic
#1E0D32 #3B1962 #582693 #7533C4 #955ED5

Accessibility & contrast

On white

9.94
#582693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#582693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582693
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582693#FFFFFF#000000##FFFFFF
##5826931.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#4A415A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #582693;
/* rgb */ color: rgb(88, 38, 147);
/* oklch */ color: oklch(40.2% 0.168 299.6);
Tailwind
colors: {
  custom: {
    50: '#8d65b4',
    500: '#582693',
    950: '#000000',
  },
}
SCSS
$custom: #582693;
$custom-light: #8d65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#582693",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 147
  },
  "hsl": {
    "h": 267.523,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40195,
    "c": 0.16768,
    "h": 299.6
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#582693
secondary
#8EBA5A
accent
#E2469A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582693

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

Preview Lab → · Contrast checker → · Palette generator →

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