#3A0737#3A0737

#3A0737 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 25.0% C 0.100 H 330.7°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#3A0737
RGBrgb(58, 7, 55)
HSLhsl(304, 78%, 13%)
HSVhsv(304, 88%, 23%)
CMYKcmyk(0%, 87.9%, 5.2%, 77.3%)
CIE-LABlab(11.47, 30.52, -17.64)
CIE-LCHlch(11.47, 35.25, 329.96°)
OKLaboklab(25% 0.0868 -0.0487)
OKLCHoklch(25% 0.1 330.7)
XYZxyz(2.5105, 1.3275, 3.7377)
Luminance0.0133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0737 #073A0A
analogous
#23073A #3A0737 #3A071E
triadic
#3A0737 #373A07 #07373A
tetradic
#3A0737 #3A2307 #073A0A #071E3A
square
#3A0737 #3A2307 #073A0A #071E3A
split-complementary
#3A0737 #1E3A07 #073A23
monochromatic
#1B031A #1B031A #3A0737 #710E6B #A7149F

Accessibility & contrast

On white

16.60
#3A0737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0737
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0737#FFFFFF#000000##FFFFFF
##3A07371.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A38
Deuteranopia (green-blind)
#172136
Tritanopia (blue-blind)
#3D0E1E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a0737;
/* rgb */ color: rgb(58, 7, 55);
/* oklch */ color: oklch(25.0% 0.100 330.7);
Tailwind
colors: {
  custom: {
    50: '#734d6e',
    500: '#3a0737',
    950: '#000000',
  },
}
SCSS
$custom: #3a0737;
$custom-light: #734d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0737",
  "rgb": {
    "r": 58,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 303.529,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24999,
    "c": 0.09954,
    "h": 330.7
  },
  "luminance": 0.01327
}

Semantic roles & 50–950 ramp

primary
#3A0737
secondary
#237928
accent
#F53E33
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A0737

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

Preview Lab → · Contrast checker → · Palette generator →

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