#58248F#58248F

#58248F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.166 H 301.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#58248F
RGBrgb(88, 36, 143)
HSLhsl(269, 60%, 35%)
HSVhsv(269, 75%, 56%)
CMYKcmyk(38.5%, 74.8%, 0%, 43.9%)
CIE-LABlab(27.63, 44.90, -49.65)
CIE-LCHlch(27.63, 66.95, 312.12°)
OKLaboklab(39.62% 0.0858 -0.1417)
OKLCHoklch(39.62% 0.166 301.2)
XYZxyz(9.6121, 5.3196, 26.5016)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58248F #5B8F24
analogous
#24258F #58248F #8E248F
triadic
#58248F #8F5824 #248F58
tetradic
#58248F #8F2425 #5B8F24 #248F8E
square
#58248F #8F2425 #5B8F24 #248F8E
split-complementary
#58248F #8F8E24 #258F24
monochromatic
#1C0B2D #3A185E #58248F #7630C0 #9558D5

Accessibility & contrast

On white

10.17
#58248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58248F
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58248F#FFFFFF#000000##FFFFFF
##58248F1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#4C3F57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #58248f;
/* rgb */ color: rgb(88, 36, 143);
/* oklch */ color: oklch(39.6% 0.166 301.2);
Tailwind
colors: {
  custom: {
    50: '#8c64b1',
    500: '#58248f',
    950: '#000000',
  },
}
SCSS
$custom: #58248f;
$custom-light: #8c64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#58248f",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 269.159,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3962,
    "c": 0.16561,
    "h": 301.2
  },
  "luminance": 0.0532
}

Semantic roles & 50–950 ramp

primary
#58248F
secondary
#89B955
accent
#E34596
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #58248F

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

Preview Lab → · Contrast checker → · Palette generator →

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