#3A0B48#3A0B48

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

Color values

HEX#3A0B48
RGBrgb(58, 11, 72)
HSLhsl(286, 73%, 16%)
HSVhsv(286, 85%, 28%)
CMYKcmyk(19.4%, 84.7%, 0%, 71.8%)
CIE-LABlab(13.27, 32.44, -26.80)
CIE-LCHlch(13.27, 42.08, 320.43°)
OKLaboklab(26.68% 0.081 -0.0755)
OKLCHoklch(26.68% 0.111 317)
XYZxyz(3.0341, 1.6069, 6.2800)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0B48 #19480B
analogous
#1C0B48 #3A0B48 #480B38
triadic
#3A0B48 #483A0B #0B483A
tetradic
#3A0B48 #481C0B #19480B #0B3848
square
#3A0B48 #481C0B #19480B #0B3848
split-complementary
#3A0B48 #38480B #0B481C
monochromatic
#15041B #15041B #3A0B48 #65137D #901BB2

Accessibility & contrast

On white

15.89
#3A0B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0B48
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0B48#FFFFFF#000000##FFFFFF
##3A0B481.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4A
Deuteranopia (green-blind)
#0C2347
Tritanopia (blue-blind)
#391829
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a0b48;
/* rgb */ color: rgb(58, 11, 72);
/* oklch */ color: oklch(26.7% 0.111 317.0);
Tailwind
colors: {
  custom: {
    50: '#73507b',
    500: '#3a0b48',
    950: '#000000',
  },
}
SCSS
$custom: #3a0b48;
$custom-light: #73507b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0b48",
  "rgb": {
    "r": 58,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 286.23,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26679,
    "c": 0.11071,
    "h": 317
  },
  "luminance": 0.01607
}

Semantic roles & 50–950 ramp

primary
#3A0B48
secondary
#3F842A
accent
#F03862
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0B48

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

Preview Lab → · Contrast checker → · Palette generator →

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