#582185#582185

#582185 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.158 H 305.0°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#582185
RGBrgb(88, 33, 133)
HSLhsl(273, 60%, 33%)
HSVhsv(273, 75%, 52%)
CMYKcmyk(33.8%, 75.2%, 0%, 47.8%)
CIE-LABlab(26.32, 43.79, -45.55)
CIE-LCHlch(26.32, 63.19, 313.87°)
OKLaboklab(38.44% 0.0909 -0.1296)
OKLCHoklch(38.44% 0.158 305)
XYZxyz(8.8010, 4.8559, 22.6594)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582185 #4E8521
analogous
#262185 #582185 #852180
triadic
#582185 #855821 #218558
tetradic
#582185 #852621 #4E8521 #218085
square
#582185 #852621 #4E8521 #218085
split-complementary
#582185 #808521 #218526
monochromatic
#170923 #381554 #582185 #782DB6 #974DD3

Accessibility & contrast

On white

10.65
#582185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#582185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582185
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582185#FFFFFF#000000##FFFFFF
##5821851.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#503951
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #582185;
/* rgb */ color: rgb(88, 33, 133);
/* oklch */ color: oklch(38.4% 0.158 305.0);
Tailwind
colors: {
  custom: {
    50: '#8c62a9',
    500: '#582185',
    950: '#000000',
  },
}
SCSS
$custom: #582185;
$custom-light: #8c62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#582185",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 273,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38441,
    "c": 0.15827,
    "h": 305
  },
  "luminance": 0.04856
}

Semantic roles & 50–950 ramp

primary
#582185
secondary
#7CB64C
accent
#E3448C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #582185

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

Preview Lab → · Contrast checker → · Palette generator →

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