#3A0738#3A0738

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

Color values

HEX#3A0738
RGBrgb(58, 7, 56)
HSLhsl(302, 78%, 13%)
HSVhsv(302, 88%, 23%)
CMYKcmyk(0%, 87.9%, 3.4%, 77.3%)
CIE-LABlab(11.53, 30.70, -18.26)
CIE-LCHlch(11.53, 35.72, 329.26°)
OKLaboklab(25.07% 0.0868 -0.0505)
OKLCHoklch(25.07% 0.1 329.8)
XYZxyz(2.5347, 1.3372, 3.8652)
Luminance0.0134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0738 #073A09
analogous
#22073A #3A0738 #3A071E
triadic
#3A0738 #383A07 #07383A
tetradic
#3A0738 #3A2207 #073A09 #071E3A
square
#3A0738 #3A2207 #073A09 #071E3A
split-complementary
#3A0738 #1E3A07 #073A22
monochromatic
#1B031A #1B031A #3A0738 #710E6D #A714A1

Accessibility & contrast

On white

16.57
#3A0738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0738
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0738#FFFFFF#000000##FFFFFF
##3A07381.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021A39
Deuteranopia (green-blind)
#172137
Tritanopia (blue-blind)
#3C0E1F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a0738;
/* rgb */ color: rgb(58, 7, 56);
/* oklch */ color: oklch(25.1% 0.100 329.8);
Tailwind
colors: {
  custom: {
    50: '#734d6f',
    500: '#3a0738',
    950: '#000000',
  },
}
SCSS
$custom: #3a0738;
$custom-light: #734d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0738",
  "rgb": {
    "r": 58,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 302.353,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.25068,
    "c": 0.10043,
    "h": 329.8
  },
  "luminance": 0.01337
}

Semantic roles & 50–950 ramp

primary
#3A0738
secondary
#237927
accent
#F53A33
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A0738

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

Preview Lab → · Contrast checker → · Palette generator →

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