#3A0D3F#3A0D3F

#3A0D3F is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.2% C 0.099 H 323.6°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#3A0D3F
RGBrgb(58, 13, 63)
HSLhsl(294, 66%, 15%)
HSVhsv(294, 79%, 25%)
CMYKcmyk(7.9%, 79.4%, 0%, 75.3%)
CIE-LABlab(12.90, 29.60, -21.09)
CIE-LCHlch(12.90, 36.34, 324.53°)
OKLaboklab(26.2% 0.0796 -0.0587)
OKLCHoklch(26.2% 0.099 323.6)
XYZxyz(2.7860, 1.5464, 4.8534)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0D3F #123F0D
analogous
#210D3F #3A0D3F #3F0D2B
triadic
#3A0D3F #3F3A0D #0D3F3A
tetradic
#3A0D3F #3F210D #123F0D #0D2B3F
square
#3A0D3F #3F210D #123F0D #0D2B3F
split-complementary
#3A0D3F #2B3F0D #0D3F21
monochromatic
#170519 #170519 #3A0D3F #691772 #9722A4

Accessibility & contrast

On white

16.04
#3A0D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0D3F
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0D3F#FFFFFF#000000##FFFFFF
##3A0D3F1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021E40
Deuteranopia (green-blind)
#15233E
Tritanopia (blue-blind)
#3B1625
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3a0d3f;
/* rgb */ color: rgb(58, 13, 63);
/* oklch */ color: oklch(26.2% 0.099 323.6);
Tailwind
colors: {
  custom: {
    50: '#725174',
    500: '#3a0d3f',
    950: '#000000',
  },
}
SCSS
$custom: #3a0d3f;
$custom-light: #725174;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0d3f",
  "rgb": {
    "r": 58,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 294,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.262,
    "c": 0.09893,
    "h": 323.6
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#3A0D3F
secondary
#357B2D
accent
#E93F50
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A0D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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