#582195#582195

#582195 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.175 H 299.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#582195
RGBrgb(88, 33, 149)
HSLhsl(268, 64%, 36%)
HSVhsv(268, 78%, 58%)
CMYKcmyk(40.9%, 77.9%, 0%, 41.6%)
CIE-LABlab(27.66, 47.78, -53.30)
CIE-LCHlch(27.66, 71.58, 311.88°)
OKLaboklab(39.8% 0.0871 -0.1523)
OKLCHoklch(39.8% 0.175 299.8)
XYZxyz(9.9918, 5.3322, 28.9307)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582195 #5E9521
analogous
#212495 #582195 #922195
triadic
#582195 #955821 #219558
tetradic
#582195 #952124 #5E9521 #219592
square
#582195 #952124 #5E9521 #219592
split-complementary
#582195 #959221 #249521
monochromatic
#1D0B31 #3A1663 #582195 #762CC7 #9557DA

Accessibility & contrast

On white

10.16
#582195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#582195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582195
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582195#FFFFFF#000000##FFFFFF
##5821951.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582195;
/* rgb */ color: rgb(88, 33, 149);
/* oklch */ color: oklch(39.8% 0.175 299.8);
Tailwind
colors: {
  custom: {
    50: '#8d63b5',
    500: '#582195',
    950: '#000000',
  },
}
SCSS
$custom: #582195;
$custom-light: #8d63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#582195",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 268.448,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39802,
    "c": 0.17549,
    "h": 299.8
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#582195
secondary
#8CBE54
accent
#E74198
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #582195

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

Preview Lab → · Contrast checker → · Palette generator →

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