#3A0636#3A0636

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

Color values

HEX#3A0636
RGBrgb(58, 6, 54)
HSLhsl(305, 81%, 13%)
HSVhsv(305, 90%, 23%)
CMYKcmyk(0%, 89.7%, 6.9%, 77.3%)
CIE-LABlab(11.25, 30.76, -17.26)
CIE-LCHlch(11.25, 35.28, 330.70°)
OKLaboklab(24.82% 0.0881 -0.0476)
OKLCHoklch(24.82% 0.1 331.6)
XYZxyz(2.4759, 1.2963, 3.6091)
Luminance0.0130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0636 #063A0A
analogous
#24063A #3A0636 #3A061C
triadic
#3A0636 #363A06 #06363A
tetradic
#3A0636 #3A2406 #063A0A #061C3A
square
#3A0636 #3A2406 #063A0A #061C3A
split-complementary
#3A0636 #1C3A06 #063A24
monochromatic
#1C031A #1C031A #3A0636 #710C6A #A9119D

Accessibility & contrast

On white

16.68
#3A0636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#3A0636 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0636
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0636#FFFFFF#000000##FFFFFF
##3A06361.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031937
Deuteranopia (green-blind)
#172135
Tritanopia (blue-blind)
#3D0C1E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a0636;
/* rgb */ color: rgb(58, 6, 54);
/* oklch */ color: oklch(24.8% 0.100 331.6);
Tailwind
colors: {
  custom: {
    50: '#734d6d',
    500: '#3a0636',
    950: '#000000',
  },
}
SCSS
$custom: #3a0636;
$custom-light: #734d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0636",
  "rgb": {
    "r": 58,
    "g": 6,
    "b": 54
  },
  "hsl": {
    "h": 304.615,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24823,
    "c": 0.1001,
    "h": 331.6
  },
  "luminance": 0.01296
}

Semantic roles & 50–950 ramp

primary
#3A0636
secondary
#227A28
accent
#F84030
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080107
muted
#7B777A

Preview Lab

Preview with #3A0636

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

Preview Lab → · Contrast checker → · Palette generator →

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