#3A0334#3A0334

#3A0334 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.4% C 0.103 H 333.4°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#3A0334
RGBrgb(58, 3, 52)
HSLhsl(307, 90%, 12%)
HSVhsv(307, 95%, 23%)
CMYKcmyk(0%, 94.8%, 10.3%, 77.3%)
CIE-LABlab(10.65, 31.76, -16.76)
CIE-LCHlch(10.65, 35.91, 332.18°)
OKLaboklab(24.35% 0.092 -0.0461)
OKLCHoklch(24.35% 0.103 333.4)
XYZxyz(2.3973, 1.2128, 3.3560)
Luminance0.0121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0334 #033A09
analogous
#25033A #3A0334 #3A0319
triadic
#3A0334 #343A03 #03343A
tetradic
#3A0334 #3A2503 #033A09 #03193A
square
#3A0334 #3A2503 #033A09 #03193A
split-complementary
#3A0334 #193A03 #033A25
monochromatic
#1D021A #1D021A #3A0334 #740668 #AE099C

Accessibility & contrast

On white

16.90
#3A0334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#3A0334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0334
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0334#FFFFFF#000000##FFFFFF
##3A03341.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011835
Deuteranopia (green-blind)
#172033
Tritanopia (blue-blind)
#3D091B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3a0334;
/* rgb */ color: rgb(58, 3, 52);
/* oklch */ color: oklch(24.4% 0.103 333.4);
Tailwind
colors: {
  custom: {
    50: '#734b6b',
    500: '#3a0334',
    950: '#000000',
  },
}
SCSS
$custom: #3a0334;
$custom-light: #734b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0334",
  "rgb": {
    "r": 58,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 306.545,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24354,
    "c": 0.10289,
    "h": 333.4
  },
  "luminance": 0.01213
}

Semantic roles & 50–950 ramp

primary
#3A0334
secondary
#1C7D27
accent
#FF4029
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #3A0334

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

Preview Lab → · Contrast checker → · Palette generator →

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