#3A0A41#3A0A41

#3A0A41 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.105 H 322.2°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#3A0A41
RGBrgb(58, 10, 65)
HSLhsl(292, 73%, 15%)
HSVhsv(292, 85%, 25%)
CMYKcmyk(10.8%, 84.6%, 0%, 74.5%)
CIE-LABlab(12.60, 31.29, -22.98)
CIE-LCHlch(12.60, 38.83, 323.71°)
OKLaboklab(26.03% 0.0829 -0.0643)
OKLCHoklch(26.03% 0.105 322.2)
XYZxyz(2.8075, 1.4984, 5.1414)
Luminance0.0150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0A41 #11410A
analogous
#1F0A41 #3A0A41 #410A2C
triadic
#3A0A41 #413A0A #0A413A
tetradic
#3A0A41 #411F0A #11410A #0A2C41
square
#3A0A41 #411F0A #11410A #0A2C41
split-complementary
#3A0A41 #2C410A #0A411F
monochromatic
#18041B #18041B #3A0A41 #691276 #991AAB

Accessibility & contrast

On white

16.16
#3A0A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0A41
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0A41#FFFFFF#000000##FFFFFF
##3A0A411.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#122240
Tritanopia (blue-blind)
#3B1525
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3a0a41;
/* rgb */ color: rgb(58, 10, 65);
/* oklch */ color: oklch(26.0% 0.105 322.2);
Tailwind
colors: {
  custom: {
    50: '#734f76',
    500: '#3a0a41',
    950: '#000000',
  },
}
SCSS
$custom: #3a0a41;
$custom-light: #734f76;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0a41",
  "rgb": {
    "r": 58,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 292.364,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2603,
    "c": 0.10491,
    "h": 322.2
  },
  "luminance": 0.01498
}

Semantic roles & 50–950 ramp

primary
#3A0A41
secondary
#337E29
accent
#F0384F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A0A41

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

Preview Lab → · Contrast checker → · Palette generator →

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