#3A0C41#3A0C41

#3A0C41 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.2% C 0.102 H 322.1°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#3A0C41
RGBrgb(58, 12, 65)
HSLhsl(292, 69%, 15%)
HSVhsv(292, 82%, 25%)
CMYKcmyk(10.8%, 81.5%, 0%, 74.5%)
CIE-LABlab(12.89, 30.47, -22.52)
CIE-LCHlch(12.89, 37.89, 323.53°)
OKLaboklab(26.24% 0.0807 -0.0629)
OKLCHoklch(26.24% 0.102 322.1)
XYZxyz(2.8304, 1.5443, 5.1490)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0C41 #13410C
analogous
#1F0C41 #3A0C41 #410C2E
triadic
#3A0C41 #413A0C #0C413A
tetradic
#3A0C41 #411F0C #13410C #0C2E41
square
#3A0C41 #411F0C #13410C #0C2E41
split-complementary
#3A0C41 #2E410C #0C411F
monochromatic
#17051A #17051A #3A0C41 #681675 #961FA8

Accessibility & contrast

On white

16.05
#3A0C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3A0C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0C41
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0C41#FFFFFF#000000##FFFFFF
##3A0C411.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#132340
Tritanopia (blue-blind)
#3B1625
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3a0c41;
/* rgb */ color: rgb(58, 12, 65);
/* oklch */ color: oklch(26.2% 0.102 322.1);
Tailwind
colors: {
  custom: {
    50: '#725076',
    500: '#3a0c41',
    950: '#000000',
  },
}
SCSS
$custom: #3a0c41;
$custom-light: #725076;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0c41",
  "rgb": {
    "r": 58,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 292.075,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26236,
    "c": 0.10234,
    "h": 322.1
  },
  "luminance": 0.01544
}

Semantic roles & 50–950 ramp

primary
#3A0C41
secondary
#367D2C
accent
#EC3C53
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A0C41

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

Preview Lab → · Contrast checker → · Palette generator →

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