#58397E#58397E

#58397E is a dark, moderate violet. Relative luminance 0.065; OKLCH L 41.4% C 0.114 H 302.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#58397E
RGBrgb(88, 57, 126)
HSLhsl(267, 38%, 36%)
HSVhsv(267, 55%, 49%)
CMYKcmyk(30.2%, 54.8%, 0%, 50.6%)
CIE-LABlab(30.66, 28.90, -34.19)
CIE-LCHlch(30.66, 44.77, 310.21°)
OKLaboklab(41.43% 0.0612 -0.0963)
OKLCHoklch(41.43% 0.114 302.4)
XYZxyz(9.2527, 6.5073, 20.5032)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58397E #5F7E39
analogous
#393C7E #58397E #7A397E
triadic
#58397E #7E5839 #397E58
tetradic
#58397E #7E393C #5F7E39 #397E7A
square
#58397E #7E393C #5F7E39 #397E7A
split-complementary
#58397E #7E7A39 #3C7E39
monochromatic
#1D132A #3B2654 #58397E #754CA8 #9572BF

Accessibility & contrast

On white

9.12
#58397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#58397E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58397E
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58397E#FFFFFF#000000##FFFFFF
##58397E1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58397e;
/* rgb */ color: rgb(88, 57, 126);
/* oklch */ color: oklch(41.4% 0.114 302.4);
Tailwind
colors: {
  custom: {
    50: '#8970a4',
    500: '#58397e',
    950: '#000000',
  },
}
SCSS
$custom: #58397e;
$custom-light: #8970a4;
$custom-dark: #000000;
JSON
{
  "hex": "#58397e",
  "rgb": {
    "r": 88,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 266.957,
    "s": 37.705,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41427,
    "c": 0.11413,
    "h": 302.4
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#58397E
secondary
#8DA86A
accent
#CE5A9A
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #58397E

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

Preview Lab → · Contrast checker → · Palette generator →

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