#3A0634#3A0634

#3A0634 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.098 H 333.4°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#3A0634
RGBrgb(58, 6, 52)
HSLhsl(307, 81%, 13%)
HSVhsv(307, 90%, 23%)
CMYKcmyk(0%, 89.7%, 10.3%, 77.3%)
CIE-LABlab(11.12, 30.40, -16.02)
CIE-LCHlch(11.12, 34.36, 332.22°)
OKLaboklab(24.69% 0.088 -0.044)
OKLCHoklch(24.69% 0.098 333.4)
XYZxyz(2.4299, 1.2779, 3.3668)
Luminance0.0128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0634 #063A0C
analogous
#26063A #3A0634 #3A061A
triadic
#3A0634 #343A06 #06343A
tetradic
#3A0634 #3A2606 #063A0C #061A3A
square
#3A0634 #3A2606 #063A0C #061A3A
split-complementary
#3A0634 #1A3A06 #063A26
monochromatic
#1C0319 #1C0319 #3A0634 #710C66 #A91197

Accessibility & contrast

On white

16.73
#3A0634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0634
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0634#FFFFFF#000000##FFFFFF
##3A06341.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041935
Deuteranopia (green-blind)
#182033
Tritanopia (blue-blind)
#3D0B1C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a0634;
/* rgb */ color: rgb(58, 6, 52);
/* oklch */ color: oklch(24.7% 0.098 333.4);
Tailwind
colors: {
  custom: {
    50: '#734d6b',
    500: '#3a0634',
    950: '#000000',
  },
}
SCSS
$custom: #3a0634;
$custom-light: #734d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0634",
  "rgb": {
    "r": 58,
    "g": 6,
    "b": 52
  },
  "hsl": {
    "h": 306.923,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24688,
    "c": 0.09839,
    "h": 333.4
  },
  "luminance": 0.01278
}

Semantic roles & 50–950 ramp

primary
#3A0634
secondary
#227A2C
accent
#F84730
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #3A0634

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

Preview Lab → · Contrast checker → · Palette generator →

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