#3A0F41#3A0F41

#3A0F41 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.098 H 321.8°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#3A0F41
RGBrgb(58, 15, 65)
HSLhsl(292, 63%, 16%)
HSVhsv(292, 77%, 25%)
CMYKcmyk(10.8%, 76.9%, 0%, 74.5%)
CIE-LABlab(13.37, 29.10, -21.75)
CIE-LCHlch(13.37, 36.33, 323.23°)
OKLaboklab(26.58% 0.077 -0.0607)
OKLCHoklch(26.58% 0.098 321.8)
XYZxyz(2.8698, 1.6230, 5.1621)
Luminance0.0162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0F41 #16410F
analogous
#210F41 #3A0F41 #410F2F
triadic
#3A0F41 #413A0F #0F413A
tetradic
#3A0F41 #41210F #16410F #0F2F41
square
#3A0F41 #41210F #16410F #0F2F41
split-complementary
#3A0F41 #2F410F #0F4121
monochromatic
#160619 #160619 #3A0F41 #661A73 #9326A4

Accessibility & contrast

On white

15.85
#3A0F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3A0F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0F41
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0F41#FFFFFF#000000##FFFFFF
##3A0F411.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021F42
Deuteranopia (green-blind)
#152440
Tritanopia (blue-blind)
#3B1826
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a0f41;
/* rgb */ color: rgb(58, 15, 65);
/* oklch */ color: oklch(26.6% 0.098 321.8);
Tailwind
colors: {
  custom: {
    50: '#725276',
    500: '#3a0f41',
    950: '#000000',
  },
}
SCSS
$custom: #3a0f41;
$custom-light: #725276;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0f41",
  "rgb": {
    "r": 58,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 291.6,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26582,
    "c": 0.09806,
    "h": 321.8
  },
  "luminance": 0.01623
}

Semantic roles & 50–950 ramp

primary
#3A0F41
secondary
#3B7B30
accent
#E64259
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A0F41

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

Preview Lab → · Contrast checker → · Palette generator →

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