#3A0A49#3A0A49

#3A0A49 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.113 H 316.5°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#3A0A49
RGBrgb(58, 10, 73)
HSLhsl(286, 76%, 16%)
HSVhsv(286, 86%, 29%)
CMYKcmyk(20.5%, 86.3%, 0%, 71.4%)
CIE-LABlab(13.22, 33.06, -27.59)
CIE-LCHlch(13.22, 43.06, 320.15°)
OKLaboklab(26.67% 0.0818 -0.0778)
OKLCHoklch(26.67% 0.113 316.5)
XYZxyz(3.0559, 1.5978, 6.4495)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0A49 #19490A
analogous
#1B0A49 #3A0A49 #490A39
triadic
#3A0A49 #493A0A #0A493A
tetradic
#3A0A49 #491B0A #19490A #0A3949
square
#3A0A49 #491B0A #19490A #0A3949
split-complementary
#3A0A49 #39490A #0A491B
monochromatic
#15041B #15041B #3A0A49 #65117F #9019B5

Accessibility & contrast

On white

15.91
#3A0A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0A49
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0A49#FFFFFF#000000##FFFFFF
##3A0A491.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4B
Deuteranopia (green-blind)
#0A2348
Tritanopia (blue-blind)
#391829
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a0a49;
/* rgb */ color: rgb(58, 10, 73);
/* oklch */ color: oklch(26.7% 0.113 316.5);
Tailwind
colors: {
  custom: {
    50: '#73507c',
    500: '#3a0a49',
    950: '#000000',
  },
}
SCSS
$custom: #3a0a49;
$custom-light: #73507c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0a49",
  "rgb": {
    "r": 58,
    "g": 10,
    "b": 73
  },
  "hsl": {
    "h": 285.714,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26665,
    "c": 0.11288,
    "h": 316.5
  },
  "luminance": 0.01598
}

Semantic roles & 50–950 ramp

primary
#3A0A49
secondary
#3F8629
accent
#F23562
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0A49

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

Preview Lab → · Contrast checker → · Palette generator →

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