#3A0739#3A0739

#3A0739 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.1% C 0.101 H 329.0°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#3A0739
RGBrgb(58, 7, 57)
HSLhsl(301, 78%, 13%)
HSVhsv(301, 88%, 23%)
CMYKcmyk(0%, 87.9%, 1.7%, 77.3%)
CIE-LABlab(11.60, 30.90, -18.87)
CIE-LCHlch(11.60, 36.20, 328.58°)
OKLaboklab(25.14% 0.0868 -0.0523)
OKLCHoklch(25.14% 0.101 329)
XYZxyz(2.5594, 1.3471, 3.9953)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0739 #073A08
analogous
#21073A #3A0739 #3A0720
triadic
#3A0739 #393A07 #07393A
tetradic
#3A0739 #3A2107 #073A08 #07203A
square
#3A0739 #3A2107 #073A08 #07203A
split-complementary
#3A0739 #203A07 #073A21
monochromatic
#1B031B #1B031B #3A0739 #710E6F #A714A4

Accessibility & contrast

On white

16.54
#3A0739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#3A0739 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0739
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0739#FFFFFF#000000##FFFFFF
##3A07391.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011A3A
Deuteranopia (green-blind)
#162138
Tritanopia (blue-blind)
#3C0F20
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a0739;
/* rgb */ color: rgb(58, 7, 57);
/* oklch */ color: oklch(25.1% 0.101 329.0);
Tailwind
colors: {
  custom: {
    50: '#734e6f',
    500: '#3a0739',
    950: '#000000',
  },
}
SCSS
$custom: #3a0739;
$custom-light: #734e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0739",
  "rgb": {
    "r": 58,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 301.176,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.25138,
    "c": 0.10133,
    "h": 329
  },
  "luminance": 0.01347
}

Semantic roles & 50–950 ramp

primary
#3A0739
secondary
#237925
accent
#F53733
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A0739

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

Preview Lab → · Contrast checker → · Palette generator →

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