#3A0A45#3A0A45

#3A0A45 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.109 H 319.2°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#3A0A45
RGBrgb(58, 10, 69)
HSLhsl(289, 75%, 15%)
HSVhsv(289, 86%, 27%)
CMYKcmyk(15.9%, 85.5%, 0%, 72.9%)
CIE-LABlab(12.90, 32.16, -25.31)
CIE-LCHlch(12.90, 40.93, 321.80°)
OKLaboklab(26.34% 0.0825 -0.0711)
OKLCHoklch(26.34% 0.109 319.2)
XYZxyz(2.9275, 1.5464, 5.7734)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0A45 #15450A
analogous
#1D0A45 #3A0A45 #450A32
triadic
#3A0A45 #453A0A #0A453A
tetradic
#3A0A45 #451D0A #15450A #0A3245
square
#3A0A45 #451D0A #15450A #0A3245
split-complementary
#3A0A45 #32450A #0A451D
monochromatic
#16041B #16041B #3A0A45 #67127A #9419B0

Accessibility & contrast

On white

16.04
#3A0A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0A45
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0A45#FFFFFF#000000##FFFFFF
##3A0A451.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#0F2344
Tritanopia (blue-blind)
#3A1627
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3a0a45;
/* rgb */ color: rgb(58, 10, 69);
/* oklch */ color: oklch(26.3% 0.109 319.2);
Tailwind
colors: {
  custom: {
    50: '#735079',
    500: '#3a0a45',
    950: '#000000',
  },
}
SCSS
$custom: #3a0a45;
$custom-light: #735079;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0a45",
  "rgb": {
    "r": 58,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 288.814,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26341,
    "c": 0.10887,
    "h": 319.2
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#3A0A45
secondary
#398229
accent
#F13659
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0A45

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

Preview Lab → · Contrast checker → · Palette generator →

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