#58306F#58306F

#58306F is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.9% C 0.110 H 311.6°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#58306F
RGBrgb(88, 48, 111)
HSLhsl(278, 40%, 31%)
HSVhsv(278, 57%, 44%)
CMYKcmyk(20.7%, 56.8%, 0%, 56.5%)
CIE-LABlab(27.67, 30.42, -29.46)
CIE-LCHlch(27.67, 42.35, 315.92°)
OKLaboklab(38.93% 0.0733 -0.0825)
OKLCHoklch(38.93% 0.11 311.6)
XYZxyz(7.9502, 5.3365, 15.6471)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58306F #476F30
analogous
#38306F #58306F #6F3066
triadic
#58306F #6F5830 #306F58
tetradic
#58306F #6F3830 #476F30 #30666F
square
#58306F #6F3830 #476F30 #30666F
split-complementary
#58306F #666F30 #306F38
monochromatic
#140B1A #361E44 #58306F #7A429A #995FBA

Accessibility & contrast

On white

10.16
#58306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#58306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58306F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58306F#FFFFFF#000000##FFFFFF
##58306F1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F71
Deuteranopia (green-blind)
#2C426D
Tritanopia (blue-blind)
#553B4A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #58306f;
/* rgb */ color: rgb(88, 48, 111);
/* oklch */ color: oklch(38.9% 0.110 311.6);
Tailwind
colors: {
  custom: {
    50: '#896a99',
    500: '#58306f',
    950: '#000000',
  },
}
SCSS
$custom: #58306f;
$custom-light: #896a99;
$custom-dark: #000000;
JSON
{
  "hex": "#58306f",
  "rgb": {
    "r": 88,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 278.095,
    "s": 39.623,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38927,
    "c": 0.11035,
    "h": 311.6
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#58306F
secondary
#74A05B
accent
#D05884
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #58306F

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

Preview Lab → · Contrast checker → · Palette generator →

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