#58397A#58397A

#58397A is a dark, moderate violet. Relative luminance 0.064; OKLCH L 41.2% C 0.109 H 304.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#58397A
RGBrgb(88, 57, 122)
HSLhsl(269, 36%, 35%)
HSVhsv(269, 53%, 48%)
CMYKcmyk(27.9%, 53.3%, 0%, 52.2%)
CIE-LABlab(30.41, 27.83, -32.07)
CIE-LCHlch(30.41, 42.46, 310.95°)
OKLaboklab(41.17% 0.0609 -0.0901)
OKLCHoklch(41.17% 0.109 304)
XYZxyz(8.9997, 6.4061, 19.1710)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58397A #5B7A39
analogous
#393B7A #58397A #78397A
triadic
#58397A #7A5839 #397A58
tetradic
#58397A #7A393B #5B7A39 #397A78
square
#58397A #7A393B #5B7A39 #397A78
split-complementary
#58397A #7A7839 #3B7A39
monochromatic
#1C1227 #3A2650 #58397A #764CA4 #9571BD

Accessibility & contrast

On white

9.21
#58397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#58397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58397A
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58397A#FFFFFF#000000##FFFFFF
##58397A1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477C
Deuteranopia (green-blind)
#2D4878
Tritanopia (blue-blind)
#524554
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #58397a;
/* rgb */ color: rgb(88, 57, 122);
/* oklch */ color: oklch(41.2% 0.109 304.0);
Tailwind
colors: {
  custom: {
    50: '#8970a1',
    500: '#58397a',
    950: '#000000',
  },
}
SCSS
$custom: #58397a;
$custom-light: #8970a1;
$custom-dark: #000000;
JSON
{
  "hex": "#58397a",
  "rgb": {
    "r": 88,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 268.615,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41168,
    "c": 0.10877,
    "h": 304
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#58397A
secondary
#89A669
accent
#CC5B97
background
#F8F6F9
surface
#F0ECF2
border
#CBC7CC
text
#0C070F
muted
#7D7A7E

Preview Lab

Preview with #58397A

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

Preview Lab → · Contrast checker → · Palette generator →

#58397A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva