#58258F#58258F

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

Color values

HEX#58258F
RGBrgb(88, 37, 143)
HSLhsl(269, 59%, 35%)
HSVhsv(269, 74%, 56%)
CMYKcmyk(38.5%, 74.1%, 0%, 43.9%)
CIE-LABlab(27.79, 44.43, -49.38)
CIE-LCHlch(27.79, 66.43, 311.98°)
OKLaboklab(39.74% 0.0848 -0.1409)
OKLCHoklch(39.74% 0.164 301)
XYZxyz(9.6428, 5.3809, 26.5119)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58258F #5C8F25
analogous
#25278F #58258F #8D258F
triadic
#58258F #8F5825 #258F58
tetradic
#58258F #8F2527 #5C8F25 #258F8D
square
#58258F #8F2527 #5C8F25 #258F8D
split-complementary
#58258F #8F8D25 #278F25
monochromatic
#1C0C2E #3A185E #58258F #7632C0 #955AD4

Accessibility & contrast

On white

10.11
#58258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#58258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58258F
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58258F#FFFFFF#000000##FFFFFF
##58258F1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58258f;
/* rgb */ color: rgb(88, 37, 143);
/* oklch */ color: oklch(39.7% 0.164 301.0);
Tailwind
colors: {
  custom: {
    50: '#8c64b1',
    500: '#58258f',
    950: '#000000',
  },
}
SCSS
$custom: #58258f;
$custom-light: #8c64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#58258f",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 268.868,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39738,
    "c": 0.16441,
    "h": 301
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#58258F
secondary
#8AB957
accent
#E24697
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #58258F

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

Preview Lab → · Contrast checker → · Palette generator →

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