#3A153A#3A153A

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

Color values

HEX#3A153A
RGBrgb(58, 21, 58)
HSLhsl(300, 47%, 15%)
HSVhsv(300, 64%, 23%)
CMYKcmyk(0%, 63.8%, 0%, 77.3%)
CIE-LABlab(14.07, 24.39, -15.69)
CIE-LCHlch(14.07, 29.00, 327.24°)
OKLaboklab(26.94% 0.0679 -0.0432)
OKLCHoklch(26.94% 0.08 327.5)
XYZxyz(2.7768, 1.7415, 4.1921)
Luminance0.0174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A153A #153A15
analogous
#27153A #3A153A #3A1527
triadic
#3A153A #3A3A15 #153A3A
tetradic
#3A153A #3A2715 #153A15 #15273A
square
#3A153A #3A2715 #153A15 #15273A
split-complementary
#3A153A #273A15 #153A27
monochromatic
#160816 #160816 #3A153A #672567 #943694

Accessibility & contrast

On white

15.58
#3A153A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A153A
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A153A#FFFFFF#000000##FFFFFF
##3A153A1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11213B
Deuteranopia (green-blind)
#1D2539
Tritanopia (blue-blind)
#3C1925
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3a153a;
/* rgb */ color: rgb(58, 21, 58);
/* oklch */ color: oklch(26.9% 0.080 327.5);
Tailwind
colors: {
  custom: {
    50: '#725570',
    500: '#3a153a',
    950: '#000000',
  },
}
SCSS
$custom: #3a153a;
$custom-light: #725570;
$custom-dark: #000000;
JSON
{
  "hex": "#3a153a",
  "rgb": {
    "r": 58,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 300,
    "s": 46.835,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26943,
    "c": 0.08044,
    "h": 327.5
  },
  "luminance": 0.01741
}

Semantic roles & 50–950 ramp

primary
#3A153A
secondary
#397139
accent
#D65151
background
#F7F5F6
surface
#EDE8EC
border
#C8C4C7
text
#080307
muted
#7B787A

Preview Lab

Preview with #3A153A

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

Preview Lab → · Contrast checker → · Palette generator →

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