#3A0941#3A0941

#3A0941 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.106 H 322.3°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#3A0941
RGBrgb(58, 9, 65)
HSLhsl(293, 76%, 15%)
HSVhsv(293, 86%, 25%)
CMYKcmyk(10.8%, 86.2%, 0%, 74.5%)
CIE-LABlab(12.46, 31.69, -23.20)
CIE-LCHlch(12.46, 39.28, 323.79°)
OKLaboklab(25.93% 0.084 -0.0649)
OKLCHoklch(25.93% 0.106 322.3)
XYZxyz(2.7966, 1.4767, 5.1377)
Luminance0.0148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0941 #104109
analogous
#1E0941 #3A0941 #41092C
triadic
#3A0941 #413A09 #09413A
tetradic
#3A0941 #411E09 #104109 #092C41
square
#3A0941 #411E09 #104109 #092C41
split-complementary
#3A0941 #2C4109 #09411E
monochromatic
#18041B #18041B #3A0941 #6A1077 #9A18AD

Accessibility & contrast

On white

16.21
#3A0941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3A0941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0941
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0941#FFFFFF#000000##FFFFFF
##3A09411.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D43
Deuteranopia (green-blind)
#122240
Tritanopia (blue-blind)
#3B1425
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a0941;
/* rgb */ color: rgb(58, 9, 65);
/* oklch */ color: oklch(25.9% 0.106 322.3);
Tailwind
colors: {
  custom: {
    50: '#734f76',
    500: '#3a0941',
    950: '#000000',
  },
}
SCSS
$custom: #3a0941;
$custom-light: #734f76;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0941",
  "rgb": {
    "r": 58,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 292.5,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25932,
    "c": 0.10616,
    "h": 322.3
  },
  "luminance": 0.01477
}

Semantic roles & 50–950 ramp

primary
#3A0941
secondary
#327F27
accent
#F2364D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A0941

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

Preview Lab → · Contrast checker → · Palette generator →

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