#3A0D45#3A0D45

#3A0D45 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.105 H 318.9°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#3A0D45
RGBrgb(58, 13, 69)
HSLhsl(288, 68%, 16%)
HSVhsv(288, 81%, 27%)
CMYKcmyk(15.9%, 81.2%, 0%, 72.9%)
CIE-LABlab(13.33, 30.92, -24.61)
CIE-LCHlch(13.33, 39.52, 321.48°)
OKLaboklab(26.65% 0.0792 -0.0691)
OKLCHoklch(26.65% 0.105 318.9)
XYZxyz(2.9629, 1.6172, 5.7852)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0D45 #18450D
analogous
#1E0D45 #3A0D45 #450D34
triadic
#3A0D45 #453A0D #0D453A
tetradic
#3A0D45 #451E0D #18450D #0D3445
square
#3A0D45 #451E0D #18450D #0D3445
split-complementary
#3A0D45 #34450D #0D451E
monochromatic
#16051A #16051A #3A0D45 #651778 #9120AC

Accessibility & contrast

On white

15.87
#3A0D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0D45
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0D45#FFFFFF#000000##FFFFFF
##3A0D451.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F47
Deuteranopia (green-blind)
#112444
Tritanopia (blue-blind)
#3A1828
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a0d45;
/* rgb */ color: rgb(58, 13, 69);
/* oklch */ color: oklch(26.7% 0.105 318.9);
Tailwind
colors: {
  custom: {
    50: '#735179',
    500: '#3a0d45',
    950: '#000000',
  },
}
SCSS
$custom: #3a0d45;
$custom-light: #735179;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0d45",
  "rgb": {
    "r": 58,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 288.214,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2665,
    "c": 0.10509,
    "h": 318.9
  },
  "luminance": 0.01617
}

Semantic roles & 50–950 ramp

primary
#3A0D45
secondary
#3E802D
accent
#EB3D5F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0D45

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

Preview Lab → · Contrast checker → · Palette generator →

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