#58247F#58247F

#58247F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.148 H 306.8°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#58247F
RGBrgb(88, 36, 127)
HSLhsl(274, 56%, 32%)
HSVhsv(274, 72%, 50%)
CMYKcmyk(30.7%, 71.7%, 0%, 50.2%)
CIE-LABlab(26.36, 40.89, -41.72)
CIE-LCHlch(26.36, 58.42, 314.42°)
OKLaboklab(38.32% 0.0887 -0.1183)
OKLCHoklch(38.32% 0.148 306.8)
XYZxyz(8.4853, 4.8689, 20.5673)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58247F #4B7F24
analogous
#2B247F #58247F #7F2479
triadic
#58247F #7F5824 #247F58
tetradic
#58247F #7F2B24 #4B7F24 #24797F
square
#58247F #7F2B24 #4B7F24 #24797F
split-complementary
#58247F #797F24 #247F2B
monochromatic
#160920 #37164F #58247F #7932AF #9850CD

Accessibility & contrast

On white

10.64
#58247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#58247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58247F
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58247F#FFFFFF#000000##FFFFFF
##58247F1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#093F7D
Tritanopia (blue-blind)
#51384E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #58247f;
/* rgb */ color: rgb(88, 36, 127);
/* oklch */ color: oklch(38.3% 0.148 306.8);
Tailwind
colors: {
  custom: {
    50: '#8b63a5',
    500: '#58247f',
    950: '#000000',
  },
}
SCSS
$custom: #58247f;
$custom-light: #8b63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#58247f",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 274.286,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3832,
    "c": 0.14787,
    "h": 306.8
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#58247F
secondary
#78B14E
accent
#DF4989
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #58247F

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

Preview Lab → · Contrast checker → · Palette generator →

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