#582E9F#582E9F

#582E9F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.172 H 295.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#582E9F
RGBrgb(88, 46, 159)
HSLhsl(262, 55%, 40%)
HSVhsv(262, 71%, 62%)
CMYKcmyk(44.7%, 71.1%, 0%, 37.6%)
CIE-LABlab(30.72, 44.19, -54.42)
CIE-LCHlch(30.72, 70.10, 309.08°)
OKLaboklab(42.23% 0.0726 -0.1557)
OKLCHoklch(42.23% 0.172 295)
XYZxyz(11.2578, 6.5316, 33.4617)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582E9F #759F2E
analogous
#2E3C9F #582E9F #902E9F
triadic
#582E9F #9F582E #2E9F58
tetradic
#582E9F #9F2E3C #759F2E #2E9F90
square
#582E9F #9F2E3C #759F2E #2E9F90
split-complementary
#582E9F #9F902E #3C9F2E
monochromatic
#231340 #3E2070 #582E9F #7442C8 #9771D6

Accessibility & contrast

On white

9.11
#582E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#582E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582E9F
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582E9F#FFFFFF#000000##FFFFFF
##582E9F1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#444A63
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582e9f;
/* rgb */ color: rgb(88, 46, 159);
/* oklch */ color: oklch(42.2% 0.172 295.0);
Tailwind
colors: {
  custom: {
    50: '#8e6abc',
    500: '#582e9f',
    950: '#000000',
  },
}
SCSS
$custom: #582e9f;
$custom-light: #8e6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#582e9f",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 262.301,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42225,
    "c": 0.17179,
    "h": 295
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#582E9F
secondary
#9FBE6B
accent
#DE49A7
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582E9F

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

Preview Lab → · Contrast checker → · Palette generator →

#582E9F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva