#582895#582895

#582895 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.168 H 298.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#582895
RGBrgb(88, 40, 149)
HSLhsl(266, 58%, 37%)
HSVhsv(266, 73%, 58%)
CMYKcmyk(40.9%, 73.2%, 0%, 41.6%)
CIE-LABlab(28.80, 44.54, -51.43)
CIE-LCHlch(28.80, 68.04, 310.89°)
OKLaboklab(40.61% 0.0805 -0.1469)
OKLCHoklch(40.61% 0.168 298.7)
XYZxyz(10.2067, 5.7621, 29.0024)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582895 #659528
analogous
#282F95 #582895 #8F2895
triadic
#582895 #955828 #289558
tetradic
#582895 #95282F #659528 #28958F
square
#582895 #95282F #659528 #28958F
split-complementary
#582895 #958F28 #2F9528
monochromatic
#1F0E35 #3C1B65 #582895 #7435C5 #9562D5

Accessibility & contrast

On white

9.76
#582895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#582895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582895
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582895#FFFFFF#000000##FFFFFF
##5828951.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#49435C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582895;
/* rgb */ color: rgb(88, 40, 149);
/* oklch */ color: oklch(40.6% 0.168 298.7);
Tailwind
colors: {
  custom: {
    50: '#8d66b5',
    500: '#582895',
    950: '#000000',
  },
}
SCSS
$custom: #582895;
$custom-light: #8d66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#582895",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 266.422,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40608,
    "c": 0.16753,
    "h": 298.7
  },
  "luminance": 0.05762
}

Semantic roles & 50–950 ramp

primary
#582895
secondary
#92BB5E
accent
#E1479D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582895

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

Preview Lab → · Contrast checker → · Palette generator →

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