#3A0437#3A0437

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

Color values

HEX#3A0437
RGBrgb(58, 4, 55)
HSLhsl(303, 87%, 12%)
HSVhsv(303, 93%, 23%)
CMYKcmyk(0%, 93.1%, 5.2%, 77.3%)
CIE-LABlab(11.01, 31.84, -18.37)
CIE-LCHlch(11.01, 36.75, 330.02°)
OKLaboklab(24.67% 0.0906 -0.0508)
OKLCHoklch(24.67% 0.104 330.7)
XYZxyz(2.4779, 1.2624, 3.7269)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0437 #043A07
analogous
#22043A #3A0437 #3A041C
triadic
#3A0437 #373A04 #04373A
tetradic
#3A0437 #3A2204 #043A07 #041C3A
square
#3A0437 #3A2204 #043A07 #041C3A
split-complementary
#3A0437 #1C3A04 #043A22
monochromatic
#1D021B #1D021B #3A0437 #73086D #AD0CA4

Accessibility & contrast

On white

16.77
#3A0437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#3A0437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0437
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0437#FFFFFF#000000##FFFFFF
##3A04371.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001938
Deuteranopia (green-blind)
#162036
Tritanopia (blue-blind)
#3D0B1E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3a0437;
/* rgb */ color: rgb(58, 4, 55);
/* oklch */ color: oklch(24.7% 0.104 330.7);
Tailwind
colors: {
  custom: {
    50: '#734c6e',
    500: '#3a0437',
    950: '#000000',
  },
}
SCSS
$custom: #3a0437;
$custom-light: #734c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0437",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 55
  },
  "hsl": {
    "h": 303.333,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.24674,
    "c": 0.10388,
    "h": 330.7
  },
  "luminance": 0.01262
}

Semantic roles & 50–950 ramp

primary
#3A0437
secondary
#1E7C23
accent
#FD362B
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080107
muted
#7B777A

Preview Lab

Preview with #3A0437

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

Preview Lab → · Contrast checker → · Palette generator →

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