#3A113F#3A113F

#3A113F is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.7% C 0.093 H 323.2°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#3A113F
RGBrgb(58, 17, 63)
HSLhsl(293, 58%, 16%)
HSVhsv(293, 73%, 25%)
CMYKcmyk(7.9%, 73%, 0%, 75.3%)
CIE-LABlab(13.59, 27.66, -19.99)
CIE-LCHlch(13.59, 34.13, 324.15°)
OKLaboklab(26.7% 0.0743 -0.0556)
OKLCHoklch(26.7% 0.093 323.2)
XYZxyz(2.8425, 1.6595, 4.8723)
Luminance0.0166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A113F #163F11
analogous
#23113F #3A113F #3F112D
triadic
#3A113F #3F3A11 #113F3A
tetradic
#3A113F #3F2311 #163F11 #112D3F
square
#3A113F #3F2311 #163F11 #112D3F
split-complementary
#3A113F #2D3F11 #113F23
monochromatic
#160718 #160718 #3A113F #661E6F #932B9F

Accessibility & contrast

On white

15.77
#3A113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A113F
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A113F#FFFFFF#000000##FFFFFF
##3A113F1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072040
Deuteranopia (green-blind)
#18243E
Tritanopia (blue-blind)
#3B1826
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a113f;
/* rgb */ color: rgb(58, 17, 63);
/* oklch */ color: oklch(26.7% 0.093 323.2);
Tailwind
colors: {
  custom: {
    50: '#725374',
    500: '#3a113f',
    950: '#000000',
  },
}
SCSS
$custom: #3a113f;
$custom-light: #725374;
$custom-dark: #000000;
JSON
{
  "hex": "#3a113f",
  "rgb": {
    "r": 58,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 293.478,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26695,
    "c": 0.09282,
    "h": 323.2
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#3A113F
secondary
#3B7833
accent
#E14758
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A113F

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

Preview Lab → · Contrast checker → · Palette generator →

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