#58237D#58237D

#58237D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.147 H 307.8°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#58237D
RGBrgb(88, 35, 125)
HSLhsl(275, 56%, 31%)
HSVhsv(275, 72%, 49%)
CMYKcmyk(29.6%, 72%, 0%, 51%)
CIE-LABlab(26.03, 40.89, -40.99)
CIE-LCHlch(26.03, 57.89, 314.93°)
OKLaboklab(38.04% 0.0901 -0.1162)
OKLCHoklch(38.04% 0.147 307.8)
XYZxyz(8.3264, 4.7576, 19.8777)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58237D #487D23
analogous
#2B237D #58237D #7D2375
triadic
#58237D #7D5823 #237D58
tetradic
#58237D #7D2B23 #487D23 #23757D
square
#58237D #7D2B23 #487D23 #23757D
split-complementary
#58237D #757D23 #237D2B
monochromatic
#15081D #36164D #58237D #7A30AD #994DCD

Accessibility & contrast

On white

10.76
#58237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#58237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58237D
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58237D#FFFFFF#000000##FFFFFF
##58237D1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#0C3E7B
Tritanopia (blue-blind)
#52374D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #58237d;
/* rgb */ color: rgb(88, 35, 125);
/* oklch */ color: oklch(38.0% 0.147 307.8);
Tailwind
colors: {
  custom: {
    50: '#8b63a3',
    500: '#58237d',
    950: '#000000',
  },
}
SCSS
$custom: #58237d;
$custom-light: #8b63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#58237d",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 275.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3804,
    "c": 0.147,
    "h": 307.8
  },
  "luminance": 0.04757
}

Semantic roles & 50–950 ramp

primary
#58237D
secondary
#75AF4C
accent
#E04886
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #58237D

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

Preview Lab → · Contrast checker → · Palette generator →

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