#3A0D43#3A0D43

#3A0D43 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.103 H 320.4°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#3A0D43
RGBrgb(58, 13, 67)
HSLhsl(290, 68%, 16%)
HSVhsv(290, 81%, 26%)
CMYKcmyk(13.4%, 80.6%, 0%, 73.7%)
CIE-LABlab(13.19, 30.47, -23.45)
CIE-LCHlch(13.19, 38.45, 322.42°)
OKLaboklab(26.5% 0.0794 -0.0656)
OKLCHoklch(26.5% 0.103 320.4)
XYZxyz(2.9018, 1.5928, 5.4637)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0D43 #16430D
analogous
#1F0D43 #3A0D43 #430D31
triadic
#3A0D43 #433A0D #0D433A
tetradic
#3A0D43 #431F0D #16430D #0D3143
square
#3A0D43 #431F0D #16430D #0D3143
split-complementary
#3A0D43 #31430D #0D431F
monochromatic
#16051A #16051A #3A0D43 #661776 #9321AA

Accessibility & contrast

On white

15.93
#3A0D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0D43
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0D43#FFFFFF#000000##FFFFFF
##3A0D431.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F45
Deuteranopia (green-blind)
#122342
Tritanopia (blue-blind)
#3A1727
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a0d43;
/* rgb */ color: rgb(58, 13, 67);
/* oklch */ color: oklch(26.5% 0.103 320.4);
Tailwind
colors: {
  custom: {
    50: '#725177',
    500: '#3a0d43',
    950: '#000000',
  },
}
SCSS
$custom: #3a0d43;
$custom-light: #725177;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0d43",
  "rgb": {
    "r": 58,
    "g": 13,
    "b": 67
  },
  "hsl": {
    "h": 290,
    "s": 67.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26496,
    "c": 0.10302,
    "h": 320.4
  },
  "luminance": 0.01593
}

Semantic roles & 50–950 ramp

primary
#3A0D43
secondary
#3B7E2D
accent
#EA3D5A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0D43

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

Preview Lab → · Contrast checker → · Palette generator →

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