#3A113C#3A113C

#3A113C is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.090 H 325.8°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#3A113C
RGBrgb(58, 17, 60)
HSLhsl(297, 56%, 15%)
HSVhsv(297, 72%, 24%)
CMYKcmyk(3.3%, 71.7%, 0%, 76.5%)
CIE-LABlab(13.39, 27.01, -18.18)
CIE-LCHlch(13.39, 32.55, 326.06°)
OKLaboklab(26.49% 0.0742 -0.0503)
OKLCHoklch(26.49% 0.09 325.8)
XYZxyz(2.7609, 1.6269, 4.4427)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A113C #133C11
analogous
#24113C #3A113C #3C1129
triadic
#3A113C #3C3A11 #113C3A
tetradic
#3A113C #3C2411 #133C11 #11293C
square
#3A113C #3C2411 #133C11 #11293C
split-complementary
#3A113C #293C11 #113C24
monochromatic
#170718 #170718 #3A113C #681F6C #962C9B

Accessibility & contrast

On white

15.84
#3A113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3A113C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A113C
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A113C#FFFFFF#000000##FFFFFF
##3A113C1.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1F3D
Deuteranopia (green-blind)
#1A243B
Tritanopia (blue-blind)
#3C1724
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a113c;
/* rgb */ color: rgb(58, 17, 60);
/* oklch */ color: oklch(26.5% 0.090 325.8);
Tailwind
colors: {
  custom: {
    50: '#725272',
    500: '#3a113c',
    950: '#000000',
  },
}
SCSS
$custom: #3a113c;
$custom-light: #725272;
$custom-dark: #000000;
JSON
{
  "hex": "#3a113c",
  "rgb": {
    "r": 58,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 297.209,
    "s": 55.844,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26491,
    "c": 0.08965,
    "h": 325.8
  },
  "luminance": 0.01627
}

Semantic roles & 50–950 ramp

primary
#3A113C
secondary
#367533
accent
#DF4950
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A113C

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

Preview Lab → · Contrast checker → · Palette generator →

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