#3A113A#3A113A

#3A113A is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.088 H 327.7°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#3A113A
RGBrgb(58, 17, 58)
HSLhsl(300, 55%, 15%)
HSVhsv(300, 71%, 23%)
CMYKcmyk(0%, 70.7%, 0%, 77.3%)
CIE-LABlab(13.27, 26.58, -16.95)
CIE-LCHlch(13.27, 31.53, 327.47°)
OKLaboklab(26.36% 0.074 -0.0468)
OKLCHoklch(26.36% 0.088 327.7)
XYZxyz(2.7091, 1.6061, 4.1695)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A113A #113A11
analogous
#26113A #3A113A #3A1126
triadic
#3A113A #3A3A11 #113A3A
tetradic
#3A113A #3A2611 #113A11 #11263A
square
#3A113A #3A2611 #113A11 #11263A
split-complementary
#3A113A #263A11 #113A26
monochromatic
#180718 #180718 #3A113A #691F69 #992D99

Accessibility & contrast

On white

15.89
#3A113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3A113A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A113A
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A113A#FFFFFF#000000##FFFFFF
##3A113A1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1F3B
Deuteranopia (green-blind)
#1B2439
Tritanopia (blue-blind)
#3C1623
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a113a;
/* rgb */ color: rgb(58, 17, 58);
/* oklch */ color: oklch(26.4% 0.088 327.7);
Tailwind
colors: {
  custom: {
    50: '#725270',
    500: '#3a113a',
    950: '#000000',
  },
}
SCSS
$custom: #3a113a;
$custom-light: #725270;
$custom-dark: #000000;
JSON
{
  "hex": "#3a113a",
  "rgb": {
    "r": 58,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 300,
    "s": 54.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26359,
    "c": 0.08757,
    "h": 327.7
  },
  "luminance": 0.01606
}

Semantic roles & 50–950 ramp

primary
#3A113A
secondary
#337333
accent
#DE4A4A
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A113A

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

Preview Lab → · Contrast checker → · Palette generator →

#3A113A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva