#3A0339#3A0339

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

Color values

HEX#3A0339
RGBrgb(58, 3, 57)
HSLhsl(301, 90%, 12%)
HSVhsv(301, 95%, 23%)
CMYKcmyk(0%, 94.8%, 1.7%, 77.3%)
CIE-LABlab(10.99, 32.66, -19.84)
CIE-LCHlch(10.99, 38.21, 328.72°)
OKLaboklab(24.71% 0.0918 -0.055)
OKLCHoklch(24.71% 0.107 329.1)
XYZxyz(2.5160, 1.2603, 3.9808)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0339 #033A04
analogous
#20033A #3A0339 #3A031E
triadic
#3A0339 #393A03 #03393A
tetradic
#3A0339 #3A2003 #033A04 #031E3A
square
#3A0339 #3A2003 #033A04 #031E3A
split-complementary
#3A0339 #1E3A03 #033A20
monochromatic
#1D021D #1D021D #3A0339 #740672 #AE09AB

Accessibility & contrast

On white

16.77
#3A0339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#3A0339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0339
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0339#FFFFFF#000000##FFFFFF
##3A03391.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193A
Deuteranopia (green-blind)
#142038
Tritanopia (blue-blind)
#3C0C1E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3a0339;
/* rgb */ color: rgb(58, 3, 57);
/* oklch */ color: oklch(24.7% 0.107 329.1);
Tailwind
colors: {
  custom: {
    50: '#734c6f',
    500: '#3a0339',
    950: '#000000',
  },
}
SCSS
$custom: #3a0339;
$custom-light: #734c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0339",
  "rgb": {
    "r": 58,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 301.091,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24708,
    "c": 0.10705,
    "h": 329.1
  },
  "luminance": 0.0126
}

Semantic roles & 50–950 ramp

primary
#3A0339
secondary
#1C7D1E
accent
#FF2D29
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #3A0339

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

Preview Lab → · Contrast checker → · Palette generator →

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