#582095#582095

#582095 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.177 H 299.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#582095
RGBrgb(88, 32, 149)
HSLhsl(269, 65%, 35%)
HSVhsv(269, 79%, 58%)
CMYKcmyk(40.9%, 78.5%, 0%, 41.6%)
CIE-LABlab(27.51, 48.21, -53.54)
CIE-LCHlch(27.51, 72.05, 312.00°)
OKLaboklab(39.7% 0.088 -0.153)
OKLCHoklch(39.7% 0.177 299.9)
XYZxyz(9.9645, 5.2775, 28.9216)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582095 #5D9520
analogous
#202295 #582095 #922095
triadic
#582095 #955820 #209558
tetradic
#582095 #952022 #5D9520 #209592
square
#582095 #952022 #5D9520 #209592
split-complementary
#582095 #959220 #229520
monochromatic
#1C0A30 #3A1563 #582095 #762BC7 #9555DA

Accessibility & contrast

On white

10.22
#582095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#582095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582095
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582095#FFFFFF#000000##FFFFFF
##5820951.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#4A3F5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582095;
/* rgb */ color: rgb(88, 32, 149);
/* oklch */ color: oklch(39.7% 0.177 299.9);
Tailwind
colors: {
  custom: {
    50: '#8d62b5',
    500: '#582095',
    950: '#000000',
  },
}
SCSS
$custom: #582095;
$custom-light: #8d62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#582095",
  "rgb": {
    "r": 88,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 268.718,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39698,
    "c": 0.17654,
    "h": 299.9
  },
  "luminance": 0.05278
}

Semantic roles & 50–950 ramp

primary
#582095
secondary
#8BBE53
accent
#E84097
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #582095

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

Preview Lab → · Contrast checker → · Palette generator →

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