#582283#582283

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

Color values

HEX#582283
RGBrgb(88, 34, 131)
HSLhsl(273, 59%, 32%)
HSVhsv(273, 74%, 51%)
CMYKcmyk(32.8%, 74%, 0%, 48.6%)
CIE-LABlab(26.32, 42.84, -44.29)
CIE-LCHlch(26.32, 61.62, 314.04°)
OKLaboklab(38.39% 0.0902 -0.1259)
OKLCHoklch(38.39% 0.155 305.6)
XYZxyz(8.6924, 4.8575, 21.9480)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582283 #4D8322
analogous
#272283 #582283 #83227E
triadic
#582283 #835822 #228358
tetradic
#582283 #832722 #4D8322 #227E83
square
#582283 #832722 #4D8322 #227E83
split-complementary
#582283 #7E8322 #228327
monochromatic
#170922 #371552 #582283 #792FB4 #974ED1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##582283#FFFFFF#000000##FFFFFF
##5822831.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)
#003D86
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#503950
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #582283;
/* rgb */ color: rgb(88, 34, 131);
/* oklch */ color: oklch(38.4% 0.155 305.6);
Tailwind
colors: {
  custom: {
    50: '#8b62a8',
    500: '#582283',
    950: '#000000',
  },
}
SCSS
$custom: #582283;
$custom-light: #8b62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#582283",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 273.402,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38394,
    "c": 0.15487,
    "h": 305.6
  },
  "luminance": 0.04857
}

Semantic roles & 50–950 ramp

primary
#582283
secondary
#7AB44C
accent
#E2468B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #582283

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

Preview Lab → · Contrast checker → · Palette generator →

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