#58249A#58249A

#58249A is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.178 H 297.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#58249A
RGBrgb(88, 36, 154)
HSLhsl(266, 62%, 37%)
HSVhsv(266, 77%, 60%)
CMYKcmyk(42.9%, 76.6%, 0%, 39.6%)
CIE-LABlab(28.56, 47.73, -54.89)
CIE-LCHlch(28.56, 72.74, 311.01°)
OKLaboklab(40.57% 0.0832 -0.157)
OKLCHoklch(40.57% 0.178 297.9)
XYZxyz(10.4866, 5.6694, 31.1074)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58249A #669A24
analogous
#242B9A #58249A #93249A
triadic
#58249A #9A5824 #249A58
tetradic
#58249A #9A242B #669A24 #249A93
square
#58249A #9A242B #669A24 #249A93
split-complementary
#58249A #9A9324 #2B9A24
monochromatic
#1F0D37 #3C1868 #58249A #7430CC #955FDA

Accessibility & contrast

On white

9.84
#58249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#58249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58249A
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58249A#FFFFFF#000000##FFFFFF
##58249A1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#47435E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #58249a;
/* rgb */ color: rgb(88, 36, 154);
/* oklch */ color: oklch(40.6% 0.178 297.9);
Tailwind
colors: {
  custom: {
    50: '#8e64b9',
    500: '#58249a',
    950: '#000000',
  },
}
SCSS
$custom: #58249a;
$custom-light: #8e64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#58249a",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 266.441,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4057,
    "c": 0.17769,
    "h": 297.9
  },
  "luminance": 0.0567
}

Semantic roles & 50–950 ramp

primary
#58249A
secondary
#93BF5B
accent
#E5439E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #58249A

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

Preview Lab → · Contrast checker → · Palette generator →

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