#58249D#58249D

#58249D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.181 H 297.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#58249D
RGBrgb(88, 36, 157)
HSLhsl(266, 63%, 38%)
HSVhsv(266, 77%, 62%)
CMYKcmyk(43.9%, 77.1%, 0%, 38.4%)
CIE-LABlab(28.83, 48.51, -56.29)
CIE-LCHlch(28.83, 74.31, 310.75°)
OKLaboklab(40.84% 0.0824 -0.1611)
OKLCHoklch(40.84% 0.181 297.1)
XYZxyz(10.7396, 5.7706, 32.4397)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58249D #699D24
analogous
#242D9D #58249D #94249D
triadic
#58249D #9D5824 #249D58
tetradic
#58249D #9D242D #699D24 #249D94
square
#58249D #9D242D #699D24 #249D94
split-complementary
#58249D #9D9424 #2D9D24
monochromatic
#200D39 #3C196B #58249D #742FCF #9561DB

Accessibility & contrast

On white

9.75
#58249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58249D
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58249D#FFFFFF#000000##FFFFFF
##58249D1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#46445F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #58249d;
/* rgb */ color: rgb(88, 36, 157);
/* oklch */ color: oklch(40.8% 0.181 297.1);
Tailwind
colors: {
  custom: {
    50: '#8e65bb',
    500: '#58249d',
    950: '#000000',
  },
}
SCSS
$custom: #58249d;
$custom-light: #8e65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#58249d",
  "rgb": {
    "r": 88,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 265.785,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40836,
    "c": 0.18098,
    "h": 297.1
  },
  "luminance": 0.05771
}

Semantic roles & 50–950 ramp

primary
#58249D
secondary
#95C05D
accent
#E6429F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #58249D

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

Preview Lab → · Contrast checker → · Palette generator →

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