#3A0638#3A0638

#3A0638 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 25.0% C 0.102 H 329.8°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#3A0638
RGBrgb(58, 6, 56)
HSLhsl(302, 81%, 13%)
HSVhsv(302, 90%, 23%)
CMYKcmyk(0%, 89.7%, 3.4%, 77.3%)
CIE-LABlab(11.38, 31.14, -18.50)
CIE-LCHlch(11.38, 36.22, 329.29°)
OKLaboklab(24.96% 0.0881 -0.0512)
OKLCHoklch(24.96% 0.102 329.8)
XYZxyz(2.5238, 1.3155, 3.8616)
Luminance0.0132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0638 #063A08
analogous
#22063A #3A0638 #3A061E
triadic
#3A0638 #383A06 #06383A
tetradic
#3A0638 #3A2206 #063A08 #061E3A
square
#3A0638 #3A2206 #063A08 #061E3A
split-complementary
#3A0638 #1E3A06 #063A22
monochromatic
#1C031B #1C031B #3A0638 #710C6E #A911A3

Accessibility & contrast

On white

16.63
#3A0638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0638
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0638#FFFFFF#000000##FFFFFF
##3A06381.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011A39
Deuteranopia (green-blind)
#162137
Tritanopia (blue-blind)
#3C0E1F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a0638;
/* rgb */ color: rgb(58, 6, 56);
/* oklch */ color: oklch(25.0% 0.102 329.8);
Tailwind
colors: {
  custom: {
    50: '#734d6f',
    500: '#3a0638',
    950: '#000000',
  },
}
SCSS
$custom: #3a0638;
$custom-light: #734d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0638",
  "rgb": {
    "r": 58,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 302.308,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24961,
    "c": 0.10184,
    "h": 329.8
  },
  "luminance": 0.01315
}

Semantic roles & 50–950 ramp

primary
#3A0638
secondary
#227A25
accent
#F83830
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A0638

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

Preview Lab → · Contrast checker → · Palette generator →

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