#58397C#58397C

#58397C is a dark, moderate violet. Relative luminance 0.065; OKLCH L 41.3% C 0.111 H 303.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#58397C
RGBrgb(88, 57, 124)
HSLhsl(268, 37%, 35%)
HSVhsv(268, 54%, 49%)
CMYKcmyk(29%, 54%, 0%, 51.4%)
CIE-LABlab(30.54, 28.36, -33.13)
CIE-LCHlch(30.54, 43.61, 310.56°)
OKLaboklab(41.3% 0.0611 -0.0932)
OKLCHoklch(41.3% 0.111 303.2)
XYZxyz(9.1249, 6.4562, 19.8303)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58397C #5D7C39
analogous
#393B7C #58397C #79397C
triadic
#58397C #7C5839 #397C58
tetradic
#58397C #7C393B #5D7C39 #397C79
square
#58397C #7C393B #5D7C39 #397C79
split-complementary
#58397C #7C7939 #3B7C39
monochromatic
#1C1228 #3A2652 #58397C #764CA6 #9571BE

Accessibility & contrast

On white

9.17
#58397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#58397C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58397C
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58397C#FFFFFF#000000##FFFFFF
##58397C1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477E
Deuteranopia (green-blind)
#2C487A
Tritanopia (blue-blind)
#524555
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #58397c;
/* rgb */ color: rgb(88, 57, 124);
/* oklch */ color: oklch(41.3% 0.111 303.2);
Tailwind
colors: {
  custom: {
    50: '#8970a2',
    500: '#58397c',
    950: '#000000',
  },
}
SCSS
$custom: #58397c;
$custom-light: #8970a2;
$custom-dark: #000000;
JSON
{
  "hex": "#58397c",
  "rgb": {
    "r": 88,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 267.761,
    "s": 37.017,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41297,
    "c": 0.11145,
    "h": 303.2
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#58397C
secondary
#8BA76A
accent
#CD5B98
background
#F8F6FA
surface
#F0ECF3
border
#CBC7CD
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #58397C

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

Preview Lab → · Contrast checker → · Palette generator →

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