#58339F#58339F

#58339F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.9% C 0.165 H 294.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#58339F
RGBrgb(88, 51, 159)
HSLhsl(261, 51%, 41%)
HSVhsv(261, 68%, 62%)
CMYKcmyk(44.7%, 67.9%, 0%, 37.6%)
CIE-LABlab(31.68, 41.52, -52.85)
CIE-LCHlch(31.68, 67.21, 308.15°)
OKLaboklab(42.92% 0.0674 -0.1511)
OKLCHoklch(42.92% 0.165 294)
XYZxyz(11.4646, 6.9452, 33.5307)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58339F #7A9F33
analogous
#33449F #58339F #8E339F
triadic
#58339F #9F5833 #339F58
tetradic
#58339F #9F3344 #7A9F33 #339F8E
square
#58339F #9F3344 #7A9F33 #339F8E
split-complementary
#58339F #9F8E33 #449F33
monochromatic
#251542 #3E2471 #58339F #744AC5 #9879D4

Accessibility & contrast

On white

8.79
#58339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#58339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58339F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58339F#FFFFFF#000000##FFFFFF
##58339F1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#444D64
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #58339f;
/* rgb */ color: rgb(88, 51, 159);
/* oklch */ color: oklch(42.9% 0.165 294.0);
Tailwind
colors: {
  custom: {
    50: '#8d6dbc',
    500: '#58339f',
    950: '#000000',
  },
}
SCSS
$custom: #58339f;
$custom-light: #8d6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#58339f",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 260.556,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42915,
    "c": 0.16546,
    "h": 294
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#58339F
secondary
#A3BC71
accent
#DB4DAA
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #58339F

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

Preview Lab → · Contrast checker → · Palette generator →

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