#3A0B44#3A0B44

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

Color values

HEX#3A0B44
RGBrgb(58, 11, 68)
HSLhsl(289, 72%, 15%)
HSVhsv(289, 84%, 27%)
CMYKcmyk(14.7%, 83.8%, 0%, 73.3%)
CIE-LABlab(12.96, 31.54, -24.51)
CIE-LCHlch(12.96, 39.95, 322.15°)
OKLaboklab(26.36% 0.0816 -0.0687)
OKLCHoklch(26.36% 0.107 319.9)
XYZxyz(2.9079, 1.5564, 5.6150)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0B44 #15440B
analogous
#1D0B44 #3A0B44 #440B31
triadic
#3A0B44 #443A0B #0B443A
tetradic
#3A0B44 #441D0B #15440B #0B3144
square
#3A0B44 #441D0B #15440B #0B3144
split-complementary
#3A0B44 #31440B #0B441D
monochromatic
#16041A #16041A #3A0B44 #671479 #941CAD

Accessibility & contrast

On white

16.02
#3A0B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0B44
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0B44#FFFFFF#000000##FFFFFF
##3A0B441.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#102343
Tritanopia (blue-blind)
#3A1727
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3a0b44;
/* rgb */ color: rgb(58, 11, 68);
/* oklch */ color: oklch(26.4% 0.107 319.9);
Tailwind
colors: {
  custom: {
    50: '#735078',
    500: '#3a0b44',
    950: '#000000',
  },
}
SCSS
$custom: #3a0b44;
$custom-light: #735078;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0b44",
  "rgb": {
    "r": 58,
    "g": 11,
    "b": 68
  },
  "hsl": {
    "h": 289.474,
    "s": 72.152,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26361,
    "c": 0.10666,
    "h": 319.9
  },
  "luminance": 0.01556
}

Semantic roles & 50–950 ramp

primary
#3A0B44
secondary
#39812A
accent
#EF3959
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0B44

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

Preview Lab → · Contrast checker → · Palette generator →

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