#58398D#58398D

#58398D is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.5% C 0.134 H 297.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#58398D
RGBrgb(88, 57, 141)
HSLhsl(262, 42%, 39%)
HSVhsv(262, 60%, 55%)
CMYKcmyk(37.6%, 59.6%, 0%, 44.7%)
CIE-LABlab(31.63, 33.02, -41.94)
CIE-LCHlch(31.63, 53.37, 308.22°)
OKLaboklab(42.46% 0.0617 -0.119)
OKLCHoklch(42.46% 0.134 297.4)
XYZxyz(10.2941, 6.9239, 25.9882)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58398D #6E8D39
analogous
#39448D #58398D #82398D
triadic
#58398D #8D5839 #398D58
tetradic
#58398D #8D3944 #6E8D39 #398D82
square
#58398D #8D3944 #6E8D39 #398D82
split-complementary
#58398D #8D8239 #448D39
monochromatic
#221636 #3D2761 #58398D #744CB7 #9678C8

Accessibility & contrast

On white

8.81
#58398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#58398D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58398D
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58398D#FFFFFF#000000##FFFFFF
##58398D1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4B90
Deuteranopia (green-blind)
#1A498B
Tritanopia (blue-blind)
#4C4B5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #58398d;
/* rgb */ color: rgb(88, 57, 141);
/* oklch */ color: oklch(42.5% 0.134 297.4);
Tailwind
colors: {
  custom: {
    50: '#8b71af',
    500: '#58398d',
    950: '#000000',
  },
}
SCSS
$custom: #58398d;
$custom-light: #8b71af;
$custom-dark: #000000;
JSON
{
  "hex": "#58398d",
  "rgb": {
    "r": 88,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 262.143,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42459,
    "c": 0.13407,
    "h": 297.4
  },
  "luminance": 0.06924
}

Semantic roles & 50–950 ramp

primary
#58398D
secondary
#99B270
accent
#D256A4
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #58398D

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

Preview Lab → · Contrast checker → · Palette generator →

#58398D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva