#582183#582183

#582183 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.156 H 305.8°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#582183
RGBrgb(88, 33, 131)
HSLhsl(274, 60%, 32%)
HSVhsv(274, 75%, 51%)
CMYKcmyk(32.8%, 74.8%, 0%, 48.6%)
CIE-LABlab(26.16, 43.30, -44.56)
CIE-LCHlch(26.16, 62.13, 314.18°)
OKLaboklab(38.28% 0.0913 -0.1267)
OKLCHoklch(38.28% 0.156 305.8)
XYZxyz(8.6642, 4.8012, 21.9386)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582183 #4C8321
analogous
#272183 #582183 #83217D
triadic
#582183 #835821 #218358
tetradic
#582183 #832721 #4C8321 #217D83
square
#582183 #832721 #4C8321 #217D83
split-complementary
#582183 #7D8321 #218327
monochromatic
#160821 #371552 #582183 #792DB4 #974CD2

Accessibility & contrast

On white

10.71
#582183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#582183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582183
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582183#FFFFFF#000000##FFFFFF
##5821831.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#503850
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #582183;
/* rgb */ color: rgb(88, 33, 131);
/* oklch */ color: oklch(38.3% 0.156 305.8);
Tailwind
colors: {
  custom: {
    50: '#8b62a8',
    500: '#582183',
    950: '#000000',
  },
}
SCSS
$custom: #582183;
$custom-light: #8b62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#582183",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 273.673,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38278,
    "c": 0.15612,
    "h": 305.8
  },
  "luminance": 0.04801
}

Semantic roles & 50–950 ramp

primary
#582183
secondary
#79B54B
accent
#E3458A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #582183

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

Preview Lab → · Contrast checker → · Palette generator →

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