#3A1044#3A1044

#3A1044 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.100 H 319.3°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#3A1044
RGBrgb(58, 16, 68)
HSLhsl(288, 62%, 16%)
HSVhsv(288, 76%, 27%)
CMYKcmyk(14.7%, 76.5%, 0%, 73.3%)
CIE-LABlab(13.75, 29.30, -23.24)
CIE-LCHlch(13.75, 37.40, 321.58°)
OKLaboklab(26.93% 0.0756 -0.0651)
OKLCHoklch(26.93% 0.1 319.3)
XYZxyz(2.9735, 1.6876, 5.6368)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1044 #1A4410
analogous
#201044 #3A1044 #441034
triadic
#3A1044 #443A10 #10443A
tetradic
#3A1044 #442010 #1A4410 #103444
square
#3A1044 #442010 #1A4410 #103444
split-complementary
#3A1044 #344410 #104420
monochromatic
#150619 #150619 #3A1044 #641C76 #8F27A7

Accessibility & contrast

On white

15.70
#3A1044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3A1044 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1044
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1044#FFFFFF#000000##FFFFFF
##3A10441.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002046
Deuteranopia (green-blind)
#142543
Tritanopia (blue-blind)
#3A1A28
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a1044;
/* rgb */ color: rgb(58, 16, 68);
/* oklch */ color: oklch(26.9% 0.100 319.3);
Tailwind
colors: {
  custom: {
    50: '#725278',
    500: '#3a1044',
    950: '#000000',
  },
}
SCSS
$custom: #3a1044;
$custom-light: #725278;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1044",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 288.462,
    "s": 61.905,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26926,
    "c": 0.09975,
    "h": 319.3
  },
  "luminance": 0.01687
}

Semantic roles & 50–950 ramp

primary
#3A1044
secondary
#407E32
accent
#E54362
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A1044

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

Preview Lab → · Contrast checker → · Palette generator →

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