#3A1049#3A1049

#3A1049 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.3% C 0.105 H 315.7°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#3A1049
RGBrgb(58, 16, 73)
HSLhsl(284, 64%, 17%)
HSVhsv(284, 78%, 29%)
CMYKcmyk(20.5%, 78.1%, 0%, 71.4%)
CIE-LABlab(14.12, 30.46, -26.13)
CIE-LCHlch(14.12, 40.13, 319.38°)
OKLaboklab(27.31% 0.0752 -0.0735)
OKLCHoklch(27.31% 0.105 315.7)
XYZxyz(3.1326, 1.7513, 6.4751)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1049 #1F4910
analogous
#1E1049 #3A1049 #49103B
triadic
#3A1049 #493A10 #10493A
tetradic
#3A1049 #491E10 #1F4910 #103B49
square
#3A1049 #491E10 #1F4910 #103B49
split-complementary
#3A1049 #3B4910 #10491E
monochromatic
#140619 #140619 #3A1049 #621B7B #8A26AD

Accessibility & contrast

On white

15.55
#3A1049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A1049
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1049#FFFFFF#000000##FFFFFF
##3A10491.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#0F2548
Tritanopia (blue-blind)
#391C2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3a1049;
/* rgb */ color: rgb(58, 16, 73);
/* oklch */ color: oklch(27.3% 0.105 315.7);
Tailwind
colors: {
  custom: {
    50: '#73537c',
    500: '#3a1049',
    950: '#000000',
  },
}
SCSS
$custom: #3a1049;
$custom-light: #73537c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1049",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 284.211,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27309,
    "c": 0.10519,
    "h": 315.7
  },
  "luminance": 0.01751
}

Semantic roles & 50–950 ramp

primary
#3A1049
secondary
#478332
accent
#E7416D
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A1049

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

Preview Lab → · Contrast checker → · Palette generator →

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