#3A113D#3A113D

#3A113D is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.091 H 324.9°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#3A113D
RGBrgb(58, 17, 61)
HSLhsl(296, 56%, 15%)
HSVhsv(296, 72%, 24%)
CMYKcmyk(4.9%, 72.1%, 0%, 76.1%)
CIE-LABlab(13.46, 27.23, -18.78)
CIE-LCHlch(13.46, 33.08, 325.40°)
OKLaboklab(26.56% 0.0742 -0.0521)
OKLCHoklch(26.56% 0.091 324.9)
XYZxyz(2.7876, 1.6375, 4.5832)
Luminance0.0164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A113D #143D11
analogous
#24113D #3A113D #3D112A
triadic
#3A113D #3D3A11 #113D3A
tetradic
#3A113D #3D2411 #143D11 #112A3D
square
#3A113D #3D2411 #143D11 #112A3D
split-complementary
#3A113D #2A3D11 #113D24
monochromatic
#170718 #170718 #3A113D #681E6D #952C9D

Accessibility & contrast

On white

15.82
#3A113D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A113D
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A113D#FFFFFF#000000##FFFFFF
##3A113D1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091F3E
Deuteranopia (green-blind)
#19243C
Tritanopia (blue-blind)
#3B1725
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a113d;
/* rgb */ color: rgb(58, 17, 61);
/* oklch */ color: oklch(26.6% 0.091 324.9);
Tailwind
colors: {
  custom: {
    50: '#725272',
    500: '#3a113d',
    950: '#000000',
  },
}
SCSS
$custom: #3a113d;
$custom-light: #725272;
$custom-dark: #000000;
JSON
{
  "hex": "#3a113d",
  "rgb": {
    "r": 58,
    "g": 17,
    "b": 61
  },
  "hsl": {
    "h": 295.909,
    "s": 56.41,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26558,
    "c": 0.09069,
    "h": 324.9
  },
  "luminance": 0.01637
}

Semantic roles & 50–950 ramp

primary
#3A113D
secondary
#387633
accent
#E04852
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A113D

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

Preview Lab → · Contrast checker → · Palette generator →

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