#58267C#58267C

#58267C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.142 H 307.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#58267C
RGBrgb(88, 38, 124)
HSLhsl(275, 53%, 32%)
HSVhsv(275, 69%, 49%)
CMYKcmyk(29%, 69.4%, 0%, 51.4%)
CIE-LABlab(26.50, 39.15, -39.61)
CIE-LCHlch(26.50, 55.69, 314.67°)
OKLaboklab(38.35% 0.0867 -0.1121)
OKLCHoklch(38.35% 0.142 307.7)
XYZxyz(8.3550, 4.9163, 19.5737)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58267C #4A7C26
analogous
#2D267C #58267C #7C2675
triadic
#58267C #7C5826 #267C58
tetradic
#58267C #7C2D26 #4A7C26 #26757C
square
#58267C #7C2D26 #4A7C26 #26757C
split-complementary
#58267C #757C26 #267C2D
monochromatic
#16091E #37184D #58267C #7934AB #9852CA

Accessibility & contrast

On white

10.59
#58267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#58267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58267C
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58267C#FFFFFF#000000##FFFFFF
##58267C1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#133F7A
Tritanopia (blue-blind)
#52384D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #58267c;
/* rgb */ color: rgb(88, 38, 124);
/* oklch */ color: oklch(38.3% 0.142 307.7);
Tailwind
colors: {
  custom: {
    50: '#8b64a2',
    500: '#58267c',
    950: '#000000',
  },
}
SCSS
$custom: #58267c;
$custom-light: #8b64a2;
$custom-dark: #000000;
JSON
{
  "hex": "#58267c",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 274.884,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38348,
    "c": 0.14173,
    "h": 307.7
  },
  "luminance": 0.04916
}

Semantic roles & 50–950 ramp

primary
#58267C
secondary
#77AE50
accent
#DC4B88
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #58267C

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

Preview Lab → · Contrast checker → · Palette generator →

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