#58397F#58397F

#58397F is a dark, moderate violet. Relative luminance 0.065; OKLCH L 41.5% C 0.115 H 302.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#58397F
RGBrgb(88, 57, 127)
HSLhsl(267, 38%, 36%)
HSVhsv(267, 55%, 50%)
CMYKcmyk(30.7%, 55.1%, 0%, 50.2%)
CIE-LABlab(30.72, 29.17, -34.72)
CIE-LCHlch(30.72, 45.34, 310.04°)
OKLaboklab(41.49% 0.0613 -0.0979)
OKLCHoklch(41.49% 0.115 302.1)
XYZxyz(9.3175, 6.5333, 20.8447)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58397F #607F39
analogous
#393D7F #58397F #7B397F
triadic
#58397F #7F5839 #397F58
tetradic
#58397F #7F393D #607F39 #397F7B
square
#58397F #7F393D #607F39 #397F7B
split-complementary
#58397F #7F7B39 #3D7F39
monochromatic
#1D132B #3B2655 #58397F #754CA9 #9572C0

Accessibility & contrast

On white

9.10
#58397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#58397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58397F
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58397F#FFFFFF#000000##FFFFFF
##58397F1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204881
Deuteranopia (green-blind)
#2A487D
Tritanopia (blue-blind)
#514656
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #58397f;
/* rgb */ color: rgb(88, 57, 127);
/* oklch */ color: oklch(41.5% 0.115 302.1);
Tailwind
colors: {
  custom: {
    50: '#8970a4',
    500: '#58397f',
    950: '#000000',
  },
}
SCSS
$custom: #58397f;
$custom-light: #8970a4;
$custom-dark: #000000;
JSON
{
  "hex": "#58397f",
  "rgb": {
    "r": 88,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 266.571,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41493,
    "c": 0.11547,
    "h": 302.1
  },
  "luminance": 0.06533
}

Semantic roles & 50–950 ramp

primary
#58397F
secondary
#8DA96B
accent
#CE5A9B
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #58397F

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

Preview Lab → · Contrast checker → · Palette generator →

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