#3A0937#3A0937

#3A0937 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.097 H 330.7°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#3A0937
RGBrgb(58, 9, 55)
HSLhsl(304, 73%, 13%)
HSVhsv(304, 84%, 23%)
CMYKcmyk(0%, 84.5%, 5.2%, 77.3%)
CIE-LABlab(11.76, 29.66, -17.17)
CIE-LCHlch(11.76, 34.28, 329.93°)
OKLaboklab(25.21% 0.0844 -0.0474)
OKLCHoklch(25.21% 0.097 330.7)
XYZxyz(2.5322, 1.3710, 3.7449)
Luminance0.0137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0937 #093A0C
analogous
#24093A #3A0937 #3A091E
triadic
#3A0937 #373A09 #09373A
tetradic
#3A0937 #3A2409 #093A0C #091E3A
square
#3A0937 #3A2409 #093A0C #091E3A
split-complementary
#3A0937 #1E3A09 #093A24
monochromatic
#1A0419 #1A0419 #3A0937 #6F1169 #A4199B

Accessibility & contrast

On white

16.48
#3A0937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0937
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0937#FFFFFF#000000##FFFFFF
##3A09371.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051B38
Deuteranopia (green-blind)
#182136
Tritanopia (blue-blind)
#3D0F1F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a0937;
/* rgb */ color: rgb(58, 9, 55);
/* oklch */ color: oklch(25.2% 0.097 330.7);
Tailwind
colors: {
  custom: {
    50: '#724e6e',
    500: '#3a0937',
    950: '#000000',
  },
}
SCSS
$custom: #3a0937;
$custom-light: #724e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0937",
  "rgb": {
    "r": 58,
    "g": 9,
    "b": 55
  },
  "hsl": {
    "h": 303.673,
    "s": 73.134,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25211,
    "c": 0.09675,
    "h": 330.7
  },
  "luminance": 0.01371
}

Semantic roles & 50–950 ramp

primary
#3A0937
secondary
#27782C
accent
#F04338
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A0937

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

Preview Lab → · Contrast checker → · Palette generator →

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