#58267A#58267A

#58267A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.139 H 308.5°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#58267A
RGBrgb(88, 38, 122)
HSLhsl(276, 53%, 31%)
HSVhsv(276, 69%, 48%)
CMYKcmyk(27.9%, 68.9%, 0%, 52.2%)
CIE-LABlab(26.35, 38.66, -38.58)
CIE-LCHlch(26.35, 54.61, 315.06°)
OKLaboklab(38.2% 0.0869 -0.1091)
OKLCHoklch(38.2% 0.139 308.5)
XYZxyz(8.2298, 4.8662, 18.9143)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58267A #487A26
analogous
#2E267A #58267A #7A2672
triadic
#58267A #7A5826 #267A58
tetradic
#58267A #7A2E26 #487A26 #26727A
square
#58267A #7A2E26 #487A26 #26727A
split-complementary
#58267A #727A26 #267A2E
monochromatic
#15091D #36174B #58267A #7A35A9 #9951C9

Accessibility & contrast

On white

10.64
#58267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#58267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58267A
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58267A#FFFFFF#000000##FFFFFF
##58267A1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#163F78
Tritanopia (blue-blind)
#53384C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #58267a;
/* rgb */ color: rgb(88, 38, 122);
/* oklch */ color: oklch(38.2% 0.139 308.5);
Tailwind
colors: {
  custom: {
    50: '#8a64a1',
    500: '#58267a',
    950: '#000000',
  },
}
SCSS
$custom: #58267a;
$custom-light: #8a64a1;
$custom-dark: #000000;
JSON
{
  "hex": "#58267a",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 275.714,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38198,
    "c": 0.13947,
    "h": 308.5
  },
  "luminance": 0.04866
}

Semantic roles & 50–950 ramp

primary
#58267A
secondary
#75AC50
accent
#DC4C86
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #58267A

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

Preview Lab → · Contrast checker → · Palette generator →

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