#58249C#58249C

#58249C is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.180 H 297.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#58249C
RGBrgb(88, 36, 156)
HSLhsl(266, 63%, 38%)
HSVhsv(266, 77%, 61%)
CMYKcmyk(43.6%, 76.9%, 0%, 38.8%)
CIE-LABlab(28.74, 48.25, -55.83)
CIE-LCHlch(28.74, 73.79, 310.84°)
OKLaboklab(40.75% 0.0826 -0.1598)
OKLCHoklch(40.75% 0.18 297.3)
XYZxyz(10.6546, 5.7366, 31.9920)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58249C #689C24
analogous
#242C9C #58249C #94249C
triadic
#58249C #9C5824 #249C58
tetradic
#58249C #9C242C #689C24 #249C94
square
#58249C #9C242C #689C24 #249C94
split-complementary
#58249C #9C9424 #2C9C24
monochromatic
#200D39 #3C196A #58249C #742FCE #9560DA

Accessibility & contrast

On white

9.78
#58249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#58249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58249C
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58249C#FFFFFF#000000##FFFFFF
##58249C1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#46445F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #58249c;
/* rgb */ color: rgb(88, 36, 156);
/* oklch */ color: oklch(40.7% 0.180 297.3);
Tailwind
colors: {
  custom: {
    50: '#8e65ba',
    500: '#58249c',
    950: '#000000',
  },
}
SCSS
$custom: #58249c;
$custom-light: #8e65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#58249c",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 266,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40747,
    "c": 0.17989,
    "h": 297.3
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#58249C
secondary
#94BF5C
accent
#E6429F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #58249C

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

Preview Lab → · Contrast checker → · Palette generator →

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