#3A033A#3A033A

#3A033A is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.108 H 328.2°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#3A033A
RGBrgb(58, 3, 58)
HSLhsl(300, 90%, 12%)
HSVhsv(300, 95%, 23%)
CMYKcmyk(0%, 94.8%, 0%, 77.3%)
CIE-LABlab(11.07, 32.84, -20.44)
CIE-LCHlch(11.07, 38.68, 328.10°)
OKLaboklab(24.78% 0.0918 -0.0568)
OKLCHoklch(24.78% 0.108 328.2)
XYZxyz(2.5412, 1.2704, 4.1135)
Luminance0.0127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A033A #033A03
analogous
#1F033A #3A033A #3A031F
triadic
#3A033A #3A3A03 #033A3A
tetradic
#3A033A #3A1F03 #033A03 #031F3A
square
#3A033A #3A1F03 #033A03 #031F3A
split-complementary
#3A033A #1F3A03 #033A1F
monochromatic
#1D021D #1D021D #3A033A #740674 #AE09AE

Accessibility & contrast

On white

16.75
#3A033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A033A
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A033A#FFFFFF#000000##FFFFFF
##3A033A1.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#132039
Tritanopia (blue-blind)
#3C0C1F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a033a;
/* rgb */ color: rgb(58, 3, 58);
/* oklch */ color: oklch(24.8% 0.108 328.2);
Tailwind
colors: {
  custom: {
    50: '#734c70',
    500: '#3a033a',
    950: '#000000',
  },
}
SCSS
$custom: #3a033a;
$custom-light: #734c70;
$custom-dark: #000000;
JSON
{
  "hex": "#3a033a",
  "rgb": {
    "r": 58,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 300,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24782,
    "c": 0.1079,
    "h": 328.2
  },
  "luminance": 0.0127
}

Semantic roles & 50–950 ramp

primary
#3A033A
secondary
#1C7D1C
accent
#FF2929
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #3A033A

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

Preview Lab → · Contrast checker → · Palette generator →

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