#3A043B#3A043B

#3A043B is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 25.0% C 0.107 H 327.4°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#3A043B
RGBrgb(58, 4, 59)
HSLhsl(299, 87%, 12%)
HSVhsv(299, 93%, 23%)
CMYKcmyk(1.7%, 93.2%, 0%, 76.9%)
CIE-LABlab(11.29, 32.59, -20.80)
CIE-LCHlch(11.29, 38.66, 327.45°)
OKLaboklab(24.96% 0.0904 -0.0578)
OKLCHoklch(24.96% 0.107 327.4)
XYZxyz(2.5777, 1.3023, 4.2524)
Luminance0.0130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A043B #053B04
analogous
#1F043B #3A043B #3B0421
triadic
#3A043B #3B3A04 #043B3A
tetradic
#3A043B #3B1F04 #053B04 #04213B
square
#3A043B #3B1F04 #053B04 #04213B
split-complementary
#3A043B #213B04 #043B1F
monochromatic
#1C021D #1C021D #3A043B #720874 #AB0CAE

Accessibility & contrast

On white

16.66
#3A043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#3A043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A043B
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A043B#FFFFFF#000000##FFFFFF
##3A043B1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#13203A
Tritanopia (blue-blind)
#3C0E20
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a043b;
/* rgb */ color: rgb(58, 4, 59);
/* oklch */ color: oklch(25.0% 0.107 327.4);
Tailwind
colors: {
  custom: {
    50: '#734c71',
    500: '#3a043b',
    950: '#000000',
  },
}
SCSS
$custom: #3a043b;
$custom-light: #734c71;
$custom-dark: #000000;
JSON
{
  "hex": "#3a043b",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 298.909,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24964,
    "c": 0.10732,
    "h": 327.4
  },
  "luminance": 0.01302
}

Semantic roles & 50–950 ramp

primary
#3A043B
secondary
#207D1E
accent
#FD2A2E
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #3A043B

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

Preview Lab → · Contrast checker → · Palette generator →

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