#3A1249#3A1249

#3A1249 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.102 H 315.3°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#3A1249
RGBrgb(58, 18, 73)
HSLhsl(284, 60%, 18%)
HSVhsv(284, 75%, 29%)
CMYKcmyk(20.5%, 75.3%, 0%, 71.4%)
CIE-LABlab(14.48, 29.48, -25.56)
CIE-LCHlch(14.48, 39.02, 319.07°)
OKLaboklab(27.56% 0.0727 -0.0719)
OKLCHoklch(27.56% 0.102 315.3)
XYZxyz(3.1636, 1.8133, 6.4854)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1249 #214912
analogous
#1E1249 #3A1249 #49123C
triadic
#3A1249 #493A12 #12493A
tetradic
#3A1249 #491E12 #214912 #123C49
square
#3A1249 #491E12 #214912 #123C49
split-complementary
#3A1249 #3C4912 #12491E
monochromatic
#140619 #140619 #3A1249 #611E7A #882AAB

Accessibility & contrast

On white

15.41
#3A1249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3A1249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1249
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1249#FFFFFF#000000##FFFFFF
##3A12491.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224B
Deuteranopia (green-blind)
#112648
Tritanopia (blue-blind)
#391D2B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3a1249;
/* rgb */ color: rgb(58, 18, 73);
/* oklch */ color: oklch(27.6% 0.102 315.3);
Tailwind
colors: {
  custom: {
    50: '#72547c',
    500: '#3a1249',
    950: '#000000',
  },
}
SCSS
$custom: #3a1249;
$custom-light: #72547c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1249",
  "rgb": {
    "r": 58,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 283.636,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2756,
    "c": 0.10224,
    "h": 315.3
  },
  "luminance": 0.01813
}

Semantic roles & 50–950 ramp

primary
#3A1249
secondary
#4A8235
accent
#E44470
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3A1249

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

Preview Lab → · Contrast checker → · Palette generator →

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