#58339B#58339B

#58339B is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.6% C 0.161 H 295.0°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#58339B
RGBrgb(88, 51, 155)
HSLhsl(261, 50%, 40%)
HSVhsv(261, 67%, 61%)
CMYKcmyk(43.2%, 67.1%, 0%, 39.2%)
CIE-LABlab(31.37, 40.40, -50.93)
CIE-LCHlch(31.37, 65.01, 308.42°)
OKLaboklab(42.59% 0.0679 -0.1455)
OKLCHoklch(42.59% 0.161 295)
XYZxyz(11.1231, 6.8087, 31.7321)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58339B #769B33
analogous
#33429B #58339B #8C339B
triadic
#58339B #9B5833 #339B58
tetradic
#58339B #9B3342 #769B33 #339B8C
square
#58339B #9B3342 #769B33 #339B8C
split-complementary
#58339B #9B8C33 #429B33
monochromatic
#24153F #3E246D #58339B #7448C3 #9776D2

Accessibility & contrast

On white

8.89
#58339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58339B
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58339B#FFFFFF#000000##FFFFFF
##58339B1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#464C62
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #58339b;
/* rgb */ color: rgb(88, 51, 155);
/* oklch */ color: oklch(42.6% 0.161 295.0);
Tailwind
colors: {
  custom: {
    50: '#8d6db9',
    500: '#58339b',
    950: '#000000',
  },
}
SCSS
$custom: #58339b;
$custom-light: #8d6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#58339b",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 261.346,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4259,
    "c": 0.16055,
    "h": 295
  },
  "luminance": 0.06809
}

Semantic roles & 50–950 ramp

primary
#58339B
secondary
#A0BA6F
accent
#DA4EA8
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #58339B

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

Preview Lab → · Contrast checker → · Palette generator →

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