#58268F#58268F

#58268F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.163 H 300.9°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#58268F
RGBrgb(88, 38, 143)
HSLhsl(269, 58%, 35%)
HSVhsv(269, 73%, 56%)
CMYKcmyk(38.5%, 73.4%, 0%, 43.9%)
CIE-LABlab(27.96, 43.95, -49.11)
CIE-LCHlch(27.96, 65.90, 311.83°)
OKLaboklab(39.86% 0.0838 -0.14)
OKLCHoklch(39.86% 0.163 300.9)
XYZxyz(9.6743, 5.4440, 26.5224)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58268F #5D8F26
analogous
#26298F #58268F #8C268F
triadic
#58268F #8F5826 #268F58
tetradic
#58268F #8F2629 #5D8F26 #268F8C
square
#58268F #8F2629 #5D8F26 #268F8C
split-complementary
#58268F #8F8C26 #298F26
monochromatic
#1C0C2E #3A195F #58268F #7633BF #955CD4

Accessibility & contrast

On white

10.05
#58268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#58268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58268F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58268F#FFFFFF#000000##FFFFFF
##58268F1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#4C4058
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #58268f;
/* rgb */ color: rgb(88, 38, 143);
/* oklch */ color: oklch(39.9% 0.163 300.9);
Tailwind
colors: {
  custom: {
    50: '#8c65b1',
    500: '#58268f',
    950: '#000000',
  },
}
SCSS
$custom: #58268f;
$custom-light: #8c65b1;
$custom-dark: #000000;
JSON
{
  "hex": "#58268f",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 268.571,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39859,
    "c": 0.16319,
    "h": 300.9
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#58268F
secondary
#8BB958
accent
#E14798
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #58268F

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

Preview Lab → · Contrast checker → · Palette generator →

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