#3A0B41#3A0B41

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

Color values

HEX#3A0B41
RGBrgb(58, 11, 65)
HSLhsl(292, 71%, 15%)
HSVhsv(292, 83%, 25%)
CMYKcmyk(10.8%, 83.1%, 0%, 74.5%)
CIE-LABlab(12.74, 30.89, -22.76)
CIE-LCHlch(12.74, 38.37, 323.62°)
OKLaboklab(26.13% 0.0818 -0.0636)
OKLCHoklch(26.13% 0.104 322.1)
XYZxyz(2.8186, 1.5207, 5.1451)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0B41 #12410B
analogous
#1F0B41 #3A0B41 #410B2D
triadic
#3A0B41 #413A0B #0B413A
tetradic
#3A0B41 #411F0B #12410B #0B2D41
square
#3A0B41 #411F0B #12410B #0B2D41
split-complementary
#3A0B41 #2D410B #0B411F
monochromatic
#17041A #17041A #3A0B41 #691475 #971DAA

Accessibility & contrast

On white

16.10
#3A0B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0B41
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0B41#FFFFFF#000000##FFFFFF
##3A0B411.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a0b41;
/* rgb */ color: rgb(58, 11, 65);
/* oklch */ color: oklch(26.1% 0.104 322.1);
Tailwind
colors: {
  custom: {
    50: '#735076',
    500: '#3a0b41',
    950: '#000000',
  },
}
SCSS
$custom: #3a0b41;
$custom-light: #735076;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0b41",
  "rgb": {
    "r": 58,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 292.222,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26131,
    "c": 0.10365,
    "h": 322.1
  },
  "luminance": 0.01521
}

Semantic roles & 50–950 ramp

primary
#3A0B41
secondary
#357E2A
accent
#EE3A51
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A0B41

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

Preview Lab → · Contrast checker → · Palette generator →

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