#3A0C49#3A0C49

#3A0C49 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.9% C 0.111 H 316.2°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#3A0C49
RGBrgb(58, 12, 73)
HSLhsl(285, 72%, 17%)
HSVhsv(285, 84%, 29%)
CMYKcmyk(20.5%, 83.6%, 0%, 71.4%)
CIE-LABlab(13.49, 32.26, -27.14)
CIE-LCHlch(13.49, 42.16, 319.92°)
OKLaboklab(26.86% 0.0798 -0.0765)
OKLCHoklch(26.86% 0.111 316.2)
XYZxyz(3.0788, 1.6436, 6.4571)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0C49 #1B490C
analogous
#1C0C49 #3A0C49 #490C3A
triadic
#3A0C49 #493A0C #0C493A
tetradic
#3A0C49 #491C0C #1B490C #0C3A49
square
#3A0C49 #491C0C #1B490C #0C3A49
split-complementary
#3A0C49 #3A490C #0C491C
monochromatic
#15041A #15041A #3A0C49 #64157E #8E1DB2

Accessibility & contrast

On white

15.80
#3A0C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3A0C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0C49
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0C49#FFFFFF#000000##FFFFFF
##3A0C491.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204B
Deuteranopia (green-blind)
#0C2448
Tritanopia (blue-blind)
#39192A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a0c49;
/* rgb */ color: rgb(58, 12, 73);
/* oklch */ color: oklch(26.9% 0.111 316.2);
Tailwind
colors: {
  custom: {
    50: '#73517c',
    500: '#3a0c49',
    950: '#000000',
  },
}
SCSS
$custom: #3a0c49;
$custom-light: #73517c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0c49",
  "rgb": {
    "r": 58,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 285.246,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26861,
    "c": 0.11052,
    "h": 316.2
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#3A0C49
secondary
#42852C
accent
#EE3966
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0C49

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

Preview Lab → · Contrast checker → · Palette generator →

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