#58258E#58258E

#58258E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.163 H 301.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#58258E
RGBrgb(88, 37, 142)
HSLhsl(269, 59%, 35%)
HSVhsv(269, 74%, 56%)
CMYKcmyk(38%, 73.9%, 0%, 44.3%)
CIE-LABlab(27.71, 44.18, -48.90)
CIE-LCHlch(27.71, 65.90, 312.10°)
OKLaboklab(39.65% 0.085 -0.1394)
OKLCHoklch(39.65% 0.163 301.4)
XYZxyz(9.5674, 5.3508, 26.1147)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58258E #5B8E25
analogous
#25268E #58258E #8C258E
triadic
#58258E #8E5825 #258E58
tetradic
#58258E #8E2526 #5B8E25 #258E8C
square
#58258E #8E2526 #5B8E25 #258E8C
split-complementary
#58258E #8E8C25 #268E25
monochromatic
#1C0C2D #3A185D #58258E #7632BF #955AD4

Accessibility & contrast

On white

10.14
#58258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#58258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58258E
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58258E#FFFFFF#000000##FFFFFF
##58258E1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58258e;
/* rgb */ color: rgb(88, 37, 142);
/* oklch */ color: oklch(39.7% 0.163 301.4);
Tailwind
colors: {
  custom: {
    50: '#8c64b0',
    500: '#58258e',
    950: '#000000',
  },
}
SCSS
$custom: #58258e;
$custom-light: #8c64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#58258e",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 269.143,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39654,
    "c": 0.1633,
    "h": 301.4
  },
  "luminance": 0.05351
}

Semantic roles & 50–950 ramp

primary
#58258E
secondary
#89B956
accent
#E24696
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #58258E

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

Preview Lab → · Contrast checker → · Palette generator →

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