#3A0B45#3A0B45

#3A0B45 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.108 H 319.1°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#3A0B45
RGBrgb(58, 11, 69)
HSLhsl(289, 73%, 16%)
HSVhsv(289, 84%, 27%)
CMYKcmyk(15.9%, 84.1%, 0%, 72.9%)
CIE-LABlab(13.04, 31.76, -25.09)
CIE-LCHlch(13.04, 40.48, 321.70°)
OKLaboklab(26.44% 0.0814 -0.0704)
OKLCHoklch(26.44% 0.108 319.1)
XYZxyz(2.9386, 1.5687, 5.7771)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0B45 #16450B
analogous
#1D0B45 #3A0B45 #450B33
triadic
#3A0B45 #453A0B #0B453A
tetradic
#3A0B45 #451D0B #16450B #0B3345
square
#3A0B45 #451D0B #16450B #0B3345
split-complementary
#3A0B45 #33450B #0B451D
monochromatic
#16041A #16041A #3A0B45 #66137A #931CAF

Accessibility & contrast

On white

15.98
#3A0B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0B45
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0B45#FFFFFF#000000##FFFFFF
##3A0B451.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F47
Deuteranopia (green-blind)
#0F2344
Tritanopia (blue-blind)
#3A1727
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a0b45;
/* rgb */ color: rgb(58, 11, 69);
/* oklch */ color: oklch(26.4% 0.108 319.1);
Tailwind
colors: {
  custom: {
    50: '#735079',
    500: '#3a0b45',
    950: '#000000',
  },
}
SCSS
$custom: #3a0b45;
$custom-light: #735079;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0b45",
  "rgb": {
    "r": 58,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 288.621,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26439,
    "c": 0.10767,
    "h": 319.1
  },
  "luminance": 0.01569
}

Semantic roles & 50–950 ramp

primary
#3A0B45
secondary
#3B812A
accent
#EF395B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0B45

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

Preview Lab → · Contrast checker → · Palette generator →

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