#582285#582285

#582285 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.157 H 304.9°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#582285
RGBrgb(88, 34, 133)
HSLhsl(273, 59%, 33%)
HSVhsv(273, 74%, 52%)
CMYKcmyk(33.8%, 74.4%, 0%, 47.8%)
CIE-LABlab(26.48, 43.33, -45.29)
CIE-LCHlch(26.48, 62.68, 313.73°)
OKLaboklab(38.56% 0.0899 -0.1288)
OKLCHoklch(38.56% 0.157 304.9)
XYZxyz(8.8292, 4.9123, 22.6688)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582285 #4F8522
analogous
#262285 #582285 #852280
triadic
#582285 #855822 #228558
tetradic
#582285 #852622 #4F8522 #228085
square
#582285 #852622 #4F8522 #228085
split-complementary
#582285 #808522 #228526
monochromatic
#180924 #381654 #582285 #782EB6 #974FD2

Accessibility & contrast

On white

10.59
#582285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#582285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582285
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582285#FFFFFF#000000##FFFFFF
##5822851.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#503A51
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #582285;
/* rgb */ color: rgb(88, 34, 133);
/* oklch */ color: oklch(38.6% 0.157 304.9);
Tailwind
colors: {
  custom: {
    50: '#8c62a9',
    500: '#582285',
    950: '#000000',
  },
}
SCSS
$custom: #582285;
$custom-light: #8c62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#582285",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 272.727,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38556,
    "c": 0.15705,
    "h": 304.9
  },
  "luminance": 0.04912
}

Semantic roles & 50–950 ramp

primary
#582285
secondary
#7DB64D
accent
#E2458D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #582285

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

Preview Lab → · Contrast checker → · Palette generator →

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