#3A0B49#3A0B49

#3A0B49 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.8% C 0.112 H 316.3°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#3A0B49
RGBrgb(58, 11, 73)
HSLhsl(285, 74%, 16%)
HSVhsv(285, 85%, 29%)
CMYKcmyk(20.5%, 84.9%, 0%, 71.4%)
CIE-LABlab(13.35, 32.67, -27.37)
CIE-LCHlch(13.35, 42.62, 320.04°)
OKLaboklab(26.76% 0.0808 -0.0771)
OKLCHoklch(26.76% 0.112 316.3)
XYZxyz(3.0670, 1.6200, 6.4532)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0B49 #1A490B
analogous
#1B0B49 #3A0B49 #490B39
triadic
#3A0B49 #493A0B #0B493A
tetradic
#3A0B49 #491B0B #1A490B #0B3949
square
#3A0B49 #491B0B #1A490B #0B3949
split-complementary
#3A0B49 #39490B #0B491B
monochromatic
#15041B #15041B #3A0B49 #64137E #8F1BB3

Accessibility & contrast

On white

15.86
#3A0B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0B49
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0B49#FFFFFF#000000##FFFFFF
##3A0B491.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a0b49;
/* rgb */ color: rgb(58, 11, 73);
/* oklch */ color: oklch(26.8% 0.112 316.3);
Tailwind
colors: {
  custom: {
    50: '#73507c',
    500: '#3a0b49',
    950: '#000000',
  },
}
SCSS
$custom: #3a0b49;
$custom-light: #73507c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0b49",
  "rgb": {
    "r": 58,
    "g": 11,
    "b": 73
  },
  "hsl": {
    "h": 285.484,
    "s": 73.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26761,
    "c": 0.11173,
    "h": 316.3
  },
  "luminance": 0.0162
}

Semantic roles & 50–950 ramp

primary
#3A0B49
secondary
#40852A
accent
#F03764
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0B49

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

Preview Lab → · Contrast checker → · Palette generator →

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