#3A0535#3A0535

#3A0535 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.6% C 0.101 H 332.5°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#3A0535
RGBrgb(58, 5, 53)
HSLhsl(306, 84%, 12%)
HSVhsv(306, 91%, 23%)
CMYKcmyk(0%, 91.4%, 8.6%, 77.3%)
CIE-LABlab(11.03, 31.02, -16.88)
CIE-LCHlch(11.03, 35.32, 331.44°)
OKLaboklab(24.65% 0.0893 -0.0465)
OKLCHoklch(24.65% 0.101 332.5)
XYZxyz(2.4418, 1.2653, 3.4831)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0535 #053A0A
analogous
#24053A #3A0535 #3A051B
triadic
#3A0535 #353A05 #05353A
tetradic
#3A0535 #3A2405 #053A0A #051B3A
square
#3A0535 #3A2405 #053A0A #051B3A
split-complementary
#3A0535 #1B3A05 #053A24
monochromatic
#1C021A #1C021A #3A0535 #720A68 #AB0F9C

Accessibility & contrast

On white

16.76
#3A0535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0535
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0535#FFFFFF#000000##FFFFFF
##3A05351.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021936
Deuteranopia (green-blind)
#172034
Tritanopia (blue-blind)
#3D0B1D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a0535;
/* rgb */ color: rgb(58, 5, 53);
/* oklch */ color: oklch(24.6% 0.101 332.5);
Tailwind
colors: {
  custom: {
    50: '#734c6c',
    500: '#3a0535',
    950: '#000000',
  },
}
SCSS
$custom: #3a0535;
$custom-light: #734c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0535",
  "rgb": {
    "r": 58,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 305.66,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24645,
    "c": 0.1007,
    "h": 332.5
  },
  "luminance": 0.01265
}

Semantic roles & 50–950 ramp

primary
#3A0535
secondary
#207B28
accent
#FA412D
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080107
muted
#7B777A

Preview Lab

Preview with #3A0535

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

Preview Lab → · Contrast checker → · Palette generator →

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