#3A1145#3A1145

#3A1145 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.099 H 318.4°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#3A1145
RGBrgb(58, 17, 69)
HSLhsl(287, 60%, 17%)
HSVhsv(287, 75%, 27%)
CMYKcmyk(15.9%, 75.4%, 0%, 72.9%)
CIE-LABlab(14.00, 29.03, -23.54)
CIE-LCHlch(14.00, 37.38, 320.96°)
OKLaboklab(27.13% 0.0743 -0.066)
OKLCHoklch(27.13% 0.099 318.4)
XYZxyz(3.0194, 1.7302, 5.8040)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1145 #1C4511
analogous
#201145 #3A1145 #451136
triadic
#3A1145 #453A11 #11453A
tetradic
#3A1145 #452011 #1C4511 #113645
square
#3A1145 #452011 #1C4511 #113645
split-complementary
#3A1145 #364511 #114520
monochromatic
#150619 #150619 #3A1145 #631D76 #8D29A7

Accessibility & contrast

On white

15.60
#3A1145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3A1145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1145
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1145#FFFFFF#000000##FFFFFF
##3A11451.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002147
Deuteranopia (green-blind)
#142544
Tritanopia (blue-blind)
#3A1B29
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3a1145;
/* rgb */ color: rgb(58, 17, 69);
/* oklch */ color: oklch(27.1% 0.099 318.4);
Tailwind
colors: {
  custom: {
    50: '#725379',
    500: '#3a1145',
    950: '#000000',
  },
}
SCSS
$custom: #3a1145;
$custom-light: #725379;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1145",
  "rgb": {
    "r": 58,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 287.308,
    "s": 60.465,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27127,
    "c": 0.09932,
    "h": 318.4
  },
  "luminance": 0.0173
}

Semantic roles & 50–950 ramp

primary
#3A1145
secondary
#437F33
accent
#E44466
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A1145

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

Preview Lab → · Contrast checker → · Palette generator →

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