#3A0D44#3A0D44

#3A0D44 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.104 H 319.7°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#3A0D44
RGBrgb(58, 13, 68)
HSLhsl(289, 68%, 16%)
HSVhsv(289, 81%, 27%)
CMYKcmyk(14.7%, 80.9%, 0%, 73.3%)
CIE-LABlab(13.26, 30.69, -24.03)
CIE-LCHlch(13.26, 38.98, 321.94°)
OKLaboklab(26.57% 0.0793 -0.0674)
OKLCHoklch(26.57% 0.104 319.7)
XYZxyz(2.9321, 1.6049, 5.6230)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0D44 #17440D
analogous
#1E0D44 #3A0D44 #440D32
triadic
#3A0D44 #443A0D #0D443A
tetradic
#3A0D44 #441E0D #17440D #0D3244
square
#3A0D44 #441E0D #17440D #0D3244
split-complementary
#3A0D44 #32440D #0D441E
monochromatic
#16051A #16051A #3A0D44 #661777 #9221AB

Accessibility & contrast

On white

15.90
#3A0D44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3A0D44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0D44
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0D44#FFFFFF#000000##FFFFFF
##3A0D441.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F46
Deuteranopia (green-blind)
#122443
Tritanopia (blue-blind)
#3A1827
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a0d44;
/* rgb */ color: rgb(58, 13, 68);
/* oklch */ color: oklch(26.6% 0.104 319.7);
Tailwind
colors: {
  custom: {
    50: '#735178',
    500: '#3a0d44',
    950: '#000000',
  },
}
SCSS
$custom: #3a0d44;
$custom-light: #735178;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0d44",
  "rgb": {
    "r": 58,
    "g": 13,
    "b": 68
  },
  "hsl": {
    "h": 289.091,
    "s": 67.901,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26573,
    "c": 0.10406,
    "h": 319.7
  },
  "luminance": 0.01605
}

Semantic roles & 50–950 ramp

primary
#3A0D44
secondary
#3C7F2D
accent
#EB3D5D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0D44

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

Preview Lab → · Contrast checker → · Palette generator →

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