#3A0D33#3A0D33

#3A0D33 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.4% C 0.087 H 334.7°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#3A0D33
RGBrgb(58, 13, 51)
HSLhsl(309, 63%, 14%)
HSVhsv(309, 78%, 23%)
CMYKcmyk(0%, 77.6%, 12.1%, 77.3%)
CIE-LABlab(12.13, 27.16, -13.70)
CIE-LCHlch(12.13, 30.42, 333.24°)
OKLaboklab(25.4% 0.079 -0.0374)
OKLCHoklch(25.4% 0.087 334.7)
XYZxyz(2.4864, 1.4266, 3.2757)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0D33 #0D3A14
analogous
#2B0D3A #3A0D33 #3A0D1D
triadic
#3A0D33 #333A0D #0D333A
tetradic
#3A0D33 #3A2B0D #0D3A14 #0D1D3A
square
#3A0D33 #3A2B0D #0D3A14 #0D1D3A
split-complementary
#3A0D33 #1D3A0D #0D3A2B
monochromatic
#190616 #190616 #3A0D33 #6C185F #9E238B

Accessibility & contrast

On white

16.34
#3A0D33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3A0D33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0D33
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0D33#FFFFFF#000000##FFFFFF
##3A0D331.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1C34
Deuteranopia (green-blind)
#1C2232
Tritanopia (blue-blind)
#3D101E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a0d33;
/* rgb */ color: rgb(58, 13, 51);
/* oklch */ color: oklch(25.4% 0.087 334.7);
Tailwind
colors: {
  custom: {
    50: '#72506a',
    500: '#3a0d33',
    950: '#000000',
  },
}
SCSS
$custom: #3a0d33;
$custom-light: #72506a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0d33",
  "rgb": {
    "r": 58,
    "g": 13,
    "b": 51
  },
  "hsl": {
    "h": 309.333,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25399,
    "c": 0.08735,
    "h": 334.7
  },
  "luminance": 0.01426
}

Semantic roles & 50–950 ramp

primary
#3A0D33
secondary
#2D7639
accent
#E65B41
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #3A0D33

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

Preview Lab → · Contrast checker → · Palette generator →

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