#3A113E#3A113E

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

Color values

HEX#3A113E
RGBrgb(58, 17, 62)
HSLhsl(295, 57%, 15%)
HSVhsv(295, 73%, 24%)
CMYKcmyk(6.5%, 72.6%, 0%, 75.7%)
CIE-LABlab(13.52, 27.44, -19.39)
CIE-LCHlch(13.52, 33.60, 324.76°)
OKLaboklab(26.63% 0.0743 -0.0538)
OKLCHoklch(26.63% 0.092 324.1)
XYZxyz(2.8148, 1.6484, 4.7264)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A113E #153E11
analogous
#23113E #3A113E #3E112B
triadic
#3A113E #3E3A11 #113E3A
tetradic
#3A113E #3E2311 #153E11 #112B3E
square
#3A113E #3E2311 #153E11 #112B3E
split-complementary
#3A113E #2B3E11 #113E23
monochromatic
#160718 #160718 #3A113E #671E6E #942B9E

Accessibility & contrast

On white

15.79
#3A113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A113E
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A113E#FFFFFF#000000##FFFFFF
##3A113E1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081F3F
Deuteranopia (green-blind)
#18243D
Tritanopia (blue-blind)
#3B1825
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a113e;
/* rgb */ color: rgb(58, 17, 62);
/* oklch */ color: oklch(26.6% 0.092 324.1);
Tailwind
colors: {
  custom: {
    50: '#725373',
    500: '#3a113e',
    950: '#000000',
  },
}
SCSS
$custom: #3a113e;
$custom-light: #725373;
$custom-dark: #000000;
JSON
{
  "hex": "#3a113e",
  "rgb": {
    "r": 58,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 294.667,
    "s": 56.962,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26626,
    "c": 0.09175,
    "h": 324.1
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#3A113E
secondary
#397733
accent
#E04855
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A113E

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

Preview Lab → · Contrast checker → · Palette generator →

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