#58268B#58268B

#58268B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.159 H 302.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#58268B
RGBrgb(88, 38, 139)
HSLhsl(270, 57%, 35%)
HSVhsv(270, 73%, 55%)
CMYKcmyk(36.7%, 72.7%, 0%, 45.5%)
CIE-LABlab(27.64, 42.92, -47.15)
CIE-LCHlch(27.64, 63.76, 312.31°)
OKLaboklab(39.53% 0.0845 -0.1343)
OKLCHoklch(39.53% 0.159 302.2)
XYZxyz(9.3767, 5.3250, 24.9549)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58268B #598B26
analogous
#26278B #58268B #8B268B
triadic
#58268B #8B5826 #268B58
tetradic
#58268B #8B2627 #598B26 #268B8B
square
#58268B #8B2627 #598B26 #268B8B
split-complementary
#58268B #8B8B26 #278B26
monochromatic
#1B0C2B #3A195B #58268B #7633BB #955AD2

Accessibility & contrast

On white

10.17
#58268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#58268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58268B
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58268B#FFFFFF#000000##FFFFFF
##58268B1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#4D3E56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #58268b;
/* rgb */ color: rgb(88, 38, 139);
/* oklch */ color: oklch(39.5% 0.159 302.2);
Tailwind
colors: {
  custom: {
    50: '#8c65ae',
    500: '#58268b',
    950: '#000000',
  },
}
SCSS
$custom: #58268b;
$custom-light: #8c65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#58268b",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 269.703,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39528,
    "c": 0.1587,
    "h": 302.2
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#58268B
secondary
#87B756
accent
#E04795
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #58268B

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

Preview Lab → · Contrast checker → · Palette generator →

#58268B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva