#58339A#58339A

#58339A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.5% C 0.159 H 295.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#58339A
RGBrgb(88, 51, 154)
HSLhsl(262, 50%, 40%)
HSVhsv(262, 67%, 60%)
CMYKcmyk(42.9%, 66.9%, 0%, 39.6%)
CIE-LABlab(31.29, 40.12, -50.45)
CIE-LCHlch(31.29, 64.46, 308.49°)
OKLaboklab(42.51% 0.068 -0.1441)
OKLCHoklch(42.51% 0.159 295.3)
XYZxyz(11.0395, 6.7752, 31.2917)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58339A #759A33
analogous
#33429A #58339A #8B339A
triadic
#58339A #9A5833 #339A58
tetradic
#58339A #9A3342 #759A33 #339A8B
square
#58339A #9A3342 #759A33 #339A8B
split-complementary
#58339A #9A8B33 #429A33
monochromatic
#23153E #3E246C #58339A #7448C2 #9776D2

Accessibility & contrast

On white

8.92
#58339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#58339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58339A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58339A#FFFFFF#000000##FFFFFF
##58339A1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#474B62
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #58339a;
/* rgb */ color: rgb(88, 51, 154);
/* oklch */ color: oklch(42.5% 0.159 295.3);
Tailwind
colors: {
  custom: {
    50: '#8d6db9',
    500: '#58339a',
    950: '#000000',
  },
}
SCSS
$custom: #58339a;
$custom-light: #8d6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#58339a",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 261.553,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4251,
    "c": 0.15932,
    "h": 295.3
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#58339A
secondary
#9FBA6F
accent
#DA4EA8
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #58339A

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

Preview Lab → · Contrast checker → · Palette generator →

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