#582295#582295

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

Color values

HEX#582295
RGBrgb(88, 34, 149)
HSLhsl(268, 63%, 36%)
HSVhsv(268, 77%, 58%)
CMYKcmyk(40.9%, 77.2%, 0%, 41.6%)
CIE-LABlab(27.81, 47.34, -53.05)
CIE-LCHlch(27.81, 71.10, 311.75°)
OKLaboklab(39.91% 0.0862 -0.1516)
OKLCHoklch(39.91% 0.174 299.6)
XYZxyz(10.0200, 5.3886, 28.9401)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582295 #5F9522
analogous
#222595 #582295 #912295
triadic
#582295 #955822 #229558
tetradic
#582295 #952225 #5F9522 #229591
square
#582295 #952225 #5F9522 #229591
split-complementary
#582295 #959122 #259522
monochromatic
#1D0B31 #3B1763 #582295 #752DC7 #9558D9

Accessibility & contrast

On white

10.11
#582295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582295
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582295#FFFFFF#000000##FFFFFF
##5822951.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582295;
/* rgb */ color: rgb(88, 34, 149);
/* oklch */ color: oklch(39.9% 0.174 299.6);
Tailwind
colors: {
  custom: {
    50: '#8d63b5',
    500: '#582295',
    950: '#000000',
  },
}
SCSS
$custom: #582295;
$custom-light: #8d63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#582295",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 268.174,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3991,
    "c": 0.17443,
    "h": 299.6
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#582295
secondary
#8DBD56
accent
#E64299
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582295

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

Preview Lab → · Contrast checker → · Palette generator →

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