#3A0341#3A0341

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

Color values

HEX#3A0341
RGBrgb(58, 3, 65)
HSLhsl(293, 91%, 13%)
HSVhsv(293, 95%, 25%)
CMYKcmyk(10.8%, 95.4%, 0%, 74.5%)
CIE-LABlab(11.60, 34.20, -24.59)
CIE-LCHlch(11.60, 42.12, 324.29°)
OKLaboklab(25.32% 0.0908 -0.0689)
OKLCHoklch(25.32% 0.114 322.8)
XYZxyz(2.7315, 1.3465, 5.1160)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0341 #0A4103
analogous
#1B0341 #3A0341 #410329
triadic
#3A0341 #413A03 #03413A
tetradic
#3A0341 #411B03 #0A4103 #032941
square
#3A0341 #411B03 #0A4103 #032941
split-complementary
#3A0341 #294103 #03411B
monochromatic
#1A011D #1A011D #3A0341 #6E067B #A208B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A0341#FFFFFF#000000##FFFFFF
##3A03411.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)
#001B43
Deuteranopia (green-blind)
#0E2140
Tritanopia (blue-blind)
#3B1023
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a0341;
/* rgb */ color: rgb(58, 3, 65);
/* oklch */ color: oklch(25.3% 0.114 322.8);
Tailwind
colors: {
  custom: {
    50: '#734c76',
    500: '#3a0341',
    950: '#000000',
  },
}
SCSS
$custom: #3a0341;
$custom-light: #734c76;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0341",
  "rgb": {
    "r": 58,
    "g": 3,
    "b": 65
  },
  "hsl": {
    "h": 293.226,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25324,
    "c": 0.11397,
    "h": 322.8
  },
  "luminance": 0.01346
}

Semantic roles & 50–950 ramp

primary
#3A0341
secondary
#28831D
accent
#FF2941
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080108
muted
#7B777B

Preview Lab

Preview with #3A0341

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

Preview Lab → · Contrast checker → · Palette generator →

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