#3A0635#3A0635

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

Color values

HEX#3A0635
RGBrgb(58, 6, 53)
HSLhsl(306, 81%, 13%)
HSVhsv(306, 90%, 23%)
CMYKcmyk(0%, 89.7%, 8.6%, 77.3%)
CIE-LABlab(11.18, 30.58, -16.64)
CIE-LCHlch(11.18, 34.82, 331.45°)
OKLaboklab(24.76% 0.0881 -0.0458)
OKLCHoklch(24.76% 0.099 332.5)
XYZxyz(2.4527, 1.2870, 3.4867)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0635 #063A0B
analogous
#25063A #3A0635 #3A061B
triadic
#3A0635 #353A06 #06353A
tetradic
#3A0635 #3A2506 #063A0B #061B3A
square
#3A0635 #3A2506 #063A0B #061B3A
split-complementary
#3A0635 #1B3A06 #063A25
monochromatic
#1C0319 #1C0319 #3A0635 #710C68 #A9119A

Accessibility & contrast

On white

16.70
#3A0635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0635
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0635#FFFFFF#000000##FFFFFF
##3A06351.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041936
Deuteranopia (green-blind)
#182034
Tritanopia (blue-blind)
#3D0C1D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a0635;
/* rgb */ color: rgb(58, 6, 53);
/* oklch */ color: oklch(24.8% 0.099 332.5);
Tailwind
colors: {
  custom: {
    50: '#734d6c',
    500: '#3a0635',
    950: '#000000',
  },
}
SCSS
$custom: #3a0635;
$custom-light: #734d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0635",
  "rgb": {
    "r": 58,
    "g": 6,
    "b": 53
  },
  "hsl": {
    "h": 305.769,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24755,
    "c": 0.09924,
    "h": 332.5
  },
  "luminance": 0.01287
}

Semantic roles & 50–950 ramp

primary
#3A0635
secondary
#227A2A
accent
#F84330
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080107
muted
#7B777A

Preview Lab

Preview with #3A0635

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

Preview Lab → · Contrast checker → · Palette generator →

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