#3A0637#3A0637

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

Color values

HEX#3A0637
RGBrgb(58, 6, 55)
HSLhsl(303, 81%, 13%)
HSVhsv(303, 90%, 23%)
CMYKcmyk(0%, 89.7%, 5.2%, 77.3%)
CIE-LABlab(11.32, 30.95, -17.88)
CIE-LCHlch(11.32, 35.74, 329.98°)
OKLaboklab(24.89% 0.0881 -0.0494)
OKLCHoklch(24.89% 0.101 330.7)
XYZxyz(2.4996, 1.3058, 3.7341)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0637 #063A09
analogous
#23063A #3A0637 #3A061D
triadic
#3A0637 #373A06 #06373A
tetradic
#3A0637 #3A2306 #063A09 #061D3A
square
#3A0637 #3A2306 #063A09 #061D3A
split-complementary
#3A0637 #1D3A06 #063A23
monochromatic
#1C031A #1C031A #3A0637 #710C6C #A911A0

Accessibility & contrast

On white

16.65
#3A0637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0637
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0637#FFFFFF#000000##FFFFFF
##3A06371.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a0637;
/* rgb */ color: rgb(58, 6, 55);
/* oklch */ color: oklch(24.9% 0.101 330.7);
Tailwind
colors: {
  custom: {
    50: '#734d6e',
    500: '#3a0637',
    950: '#000000',
  },
}
SCSS
$custom: #3a0637;
$custom-light: #734d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0637",
  "rgb": {
    "r": 58,
    "g": 6,
    "b": 55
  },
  "hsl": {
    "h": 303.462,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24892,
    "c": 0.10096,
    "h": 330.7
  },
  "luminance": 0.01306
}

Semantic roles & 50–950 ramp

primary
#3A0637
secondary
#227A27
accent
#F83C30
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A0637

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

Preview Lab → · Contrast checker → · Palette generator →

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