#3A0934#3A0934

#3A0934 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.0% C 0.094 H 333.5°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#3A0934
RGBrgb(58, 9, 52)
HSLhsl(307, 73%, 13%)
HSVhsv(307, 84%, 23%)
CMYKcmyk(0%, 84.5%, 10.3%, 77.3%)
CIE-LABlab(11.57, 29.10, -15.30)
CIE-LCHlch(11.57, 32.88, 332.26°)
OKLaboklab(25.01% 0.0842 -0.0419)
OKLCHoklch(25.01% 0.094 333.5)
XYZxyz(2.4625, 1.3431, 3.3777)
Luminance0.0134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0934 #093A0F
analogous
#27093A #3A0934 #3A091B
triadic
#3A0934 #343A09 #09343A
tetradic
#3A0934 #3A2709 #093A0F #091B3A
square
#3A0934 #3A2709 #093A0F #091B3A
split-complementary
#3A0934 #1B3A09 #093A27
monochromatic
#1A0418 #1A0418 #3A0934 #6F1163 #A41993

Accessibility & contrast

On white

16.55
#3A0934 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#3A0934 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0934
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0934#FFFFFF#000000##FFFFFF
##3A09341.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081A35
Deuteranopia (green-blind)
#1A2133
Tritanopia (blue-blind)
#3D0E1D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a0934;
/* rgb */ color: rgb(58, 9, 52);
/* oklch */ color: oklch(25.0% 0.094 333.5);
Tailwind
colors: {
  custom: {
    50: '#724e6b',
    500: '#3a0934',
    950: '#000000',
  },
}
SCSS
$custom: #3a0934;
$custom-light: #724e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0934",
  "rgb": {
    "r": 58,
    "g": 9,
    "b": 52
  },
  "hsl": {
    "h": 307.347,
    "s": 73.134,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25014,
    "c": 0.09407,
    "h": 333.5
  },
  "luminance": 0.01343
}

Semantic roles & 50–950 ramp

primary
#3A0934
secondary
#277831
accent
#F04E38
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #3A0934

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

Preview Lab → · Contrast checker → · Palette generator →

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