#3A0D3E#3A0D3E

#3A0D3E is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.098 H 324.4°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#3A0D3E
RGBrgb(58, 13, 62)
HSLhsl(295, 65%, 15%)
HSVhsv(295, 79%, 24%)
CMYKcmyk(6.5%, 79%, 0%, 75.7%)
CIE-LABlab(12.83, 29.38, -20.49)
CIE-LCHlch(12.83, 35.82, 325.11°)
OKLaboklab(26.13% 0.0796 -0.057)
OKLCHoklch(26.13% 0.098 324.4)
XYZxyz(2.7583, 1.5354, 4.7076)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0D3E #113E0D
analogous
#220D3E #3A0D3E #3E0D2A
triadic
#3A0D3E #3E3A0D #0D3E3A
tetradic
#3A0D3E #3E220D #113E0D #0D2A3E
square
#3A0D3E #3E220D #113E0D #0D2A3E
split-complementary
#3A0D3E #2A3E0D #0D3E22
monochromatic
#180519 #180519 #3A0D3E #691871 #9922A3

Accessibility & contrast

On white

16.07
#3A0D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3A0D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0D3E
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0D3E#FFFFFF#000000##FFFFFF
##3A0D3E1.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031E3F
Deuteranopia (green-blind)
#16233D
Tritanopia (blue-blind)
#3B1524
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3a0d3e;
/* rgb */ color: rgb(58, 13, 62);
/* oklch */ color: oklch(26.1% 0.098 324.4);
Tailwind
colors: {
  custom: {
    50: '#725073',
    500: '#3a0d3e',
    950: '#000000',
  },
}
SCSS
$custom: #3a0d3e;
$custom-light: #725073;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0d3e",
  "rgb": {
    "r": 58,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 295.102,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26128,
    "c": 0.09793,
    "h": 324.4
  },
  "luminance": 0.01535
}

Semantic roles & 50–950 ramp

primary
#3A0D3E
secondary
#337A2D
accent
#E8404D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A0D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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