#3A0435#3A0435

#3A0435 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.5% C 0.102 H 332.5°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#3A0435
RGBrgb(58, 4, 53)
HSLhsl(306, 87%, 12%)
HSVhsv(306, 93%, 23%)
CMYKcmyk(0%, 93.1%, 8.6%, 77.3%)
CIE-LABlab(10.88, 31.48, -17.13)
CIE-LCHlch(10.88, 35.84, 331.44°)
OKLaboklab(24.54% 0.0907 -0.0472)
OKLCHoklch(24.54% 0.102 332.5)
XYZxyz(2.4310, 1.2436, 3.4795)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0435 #043A09
analogous
#24043A #3A0435 #3A041A
triadic
#3A0435 #353A04 #04353A
tetradic
#3A0435 #3A2404 #043A09 #041A3A
square
#3A0435 #3A2404 #043A09 #041A3A
split-complementary
#3A0435 #1A3A04 #043A24
monochromatic
#1D021A #1D021A #3A0435 #730869 #AD0C9E

Accessibility & contrast

On white

16.82
#3A0435 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0435
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0435#FFFFFF#000000##FFFFFF
##3A04351.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011836
Deuteranopia (green-blind)
#172034
Tritanopia (blue-blind)
#3D0A1C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3a0435;
/* rgb */ color: rgb(58, 4, 53);
/* oklch */ color: oklch(24.5% 0.102 332.5);
Tailwind
colors: {
  custom: {
    50: '#734c6c',
    500: '#3a0435',
    950: '#000000',
  },
}
SCSS
$custom: #3a0435;
$custom-light: #734c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0435",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 53
  },
  "hsl": {
    "h": 305.556,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.24535,
    "c": 0.1022,
    "h": 332.5
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#3A0435
secondary
#1E7C27
accent
#FD3E2B
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080107
muted
#7B777A

Preview Lab

Preview with #3A0435

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

Preview Lab → · Contrast checker → · Palette generator →

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