#3A0D39#3A0D39

#3A0D39 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.8% C 0.093 H 328.8°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#3A0D39
RGBrgb(58, 13, 57)
HSLhsl(301, 63%, 14%)
HSVhsv(301, 78%, 23%)
CMYKcmyk(0%, 77.6%, 1.7%, 77.3%)
CIE-LABlab(12.50, 28.34, -17.45)
CIE-LCHlch(12.50, 33.28, 328.38°)
OKLaboklab(25.78% 0.0795 -0.0482)
OKLCHoklch(25.78% 0.093 328.8)
XYZxyz(2.6273, 1.4830, 4.0180)
Luminance0.0148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0D39 #0D3A0E
analogous
#250D3A #3A0D39 #3A0D23
triadic
#3A0D39 #393A0D #0D393A
tetradic
#3A0D39 #3A250D #0D3A0E #0D233A
square
#3A0D39 #3A250D #0D3A0E #0D233A
split-complementary
#3A0D39 #233A0D #0D3A25
monochromatic
#190619 #190619 #3A0D39 #6C186A #9E239B

Accessibility & contrast

On white

16.20
#3A0D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3A0D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0D39
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0D39#FFFFFF#000000##FFFFFF
##3A0D391.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081D3A
Deuteranopia (green-blind)
#192338
Tritanopia (blue-blind)
#3C1321
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3a0d39;
/* rgb */ color: rgb(58, 13, 57);
/* oklch */ color: oklch(25.8% 0.093 328.8);
Tailwind
colors: {
  custom: {
    50: '#72506f',
    500: '#3a0d39',
    950: '#000000',
  },
}
SCSS
$custom: #3a0d39;
$custom-light: #72506f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0d39",
  "rgb": {
    "r": 58,
    "g": 13,
    "b": 57
  },
  "hsl": {
    "h": 301.333,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25782,
    "c": 0.09299,
    "h": 328.8
  },
  "luminance": 0.01483
}

Semantic roles & 50–950 ramp

primary
#3A0D39
secondary
#2D762F
accent
#E64541
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A0D39

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

Preview Lab → · Contrast checker → · Palette generator →

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