#3A043F#3A043F

#3A043F is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.3% C 0.111 H 324.2°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#3A043F
RGBrgb(58, 4, 63)
HSLhsl(295, 88%, 13%)
HSVhsv(295, 94%, 25%)
CMYKcmyk(7.9%, 93.7%, 0%, 75.3%)
CIE-LABlab(11.59, 33.37, -23.18)
CIE-LCHlch(11.59, 40.63, 325.21°)
OKLaboklab(25.27% 0.0899 -0.0648)
OKLCHoklch(25.27% 0.111 324.2)
XYZxyz(2.6855, 1.3454, 4.8199)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A043F #093F04
analogous
#1C043F #3A043F #3F0426
triadic
#3A043F #3F3A04 #043F3A
tetradic
#3A043F #3F1C04 #093F04 #04263F
square
#3A043F #3F1C04 #093F04 #04263F
split-complementary
#3A043F #263F04 #043F1C
monochromatic
#1A021D #1A021D #3A043F #6F0879 #A40BB2

Accessibility & contrast

On white

16.55
#3A043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#3A043F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A043F
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A043F#FFFFFF#000000##FFFFFF
##3A043F1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#10213E
Tritanopia (blue-blind)
#3B1022
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a043f;
/* rgb */ color: rgb(58, 4, 63);
/* oklch */ color: oklch(25.3% 0.111 324.2);
Tailwind
colors: {
  custom: {
    50: '#734d74',
    500: '#3a043f',
    950: '#000000',
  },
}
SCSS
$custom: #3a043f;
$custom-light: #734d74;
$custom-dark: #000000;
JSON
{
  "hex": "#3a043f",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 294.915,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25269,
    "c": 0.11084,
    "h": 324.2
  },
  "luminance": 0.01345
}

Semantic roles & 50–950 ramp

primary
#3A043F
secondary
#27801E
accent
#FE2A3C
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080108
muted
#7B777B

Preview Lab

Preview with #3A043F

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

Preview Lab → · Contrast checker → · Palette generator →

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