#58248E#58248E

#58248E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.165 H 301.5°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#58248E
RGBrgb(88, 36, 142)
HSLhsl(269, 60%, 35%)
HSVhsv(269, 75%, 56%)
CMYKcmyk(38%, 74.6%, 0%, 44.3%)
CIE-LABlab(27.54, 44.65, -49.17)
CIE-LCHlch(27.54, 66.42, 312.24°)
OKLaboklab(39.54% 0.086 -0.1402)
OKLCHoklch(39.54% 0.165 301.5)
XYZxyz(9.5367, 5.2894, 26.1045)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58248E #5A8E24
analogous
#24258E #58248E #8D248E
triadic
#58248E #8E5824 #248E58
tetradic
#58248E #8E2425 #5A8E24 #248E8D
square
#58248E #8E2425 #5A8E24 #248E8D
split-complementary
#58248E #8E8D24 #258E24
monochromatic
#1B0B2C #3A185D #58248E #7630BF #9558D5

Accessibility & contrast

On white

10.21
#58248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#58248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58248E
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58248E#FFFFFF#000000##FFFFFF
##58248E1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#4C3E57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #58248e;
/* rgb */ color: rgb(88, 36, 142);
/* oklch */ color: oklch(39.5% 0.165 301.5);
Tailwind
colors: {
  custom: {
    50: '#8c64b0',
    500: '#58248e',
    950: '#000000',
  },
}
SCSS
$custom: #58248e;
$custom-light: #8c64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#58248e",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 269.434,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39536,
    "c": 0.1645,
    "h": 301.5
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#58248E
secondary
#88B955
accent
#E34595
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #58248E

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

Preview Lab → · Contrast checker → · Palette generator →

#58248E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva