#3A0B4A#3A0B4A

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

Color values

HEX#3A0B4A
RGBrgb(58, 11, 74)
HSLhsl(285, 74%, 17%)
HSVhsv(285, 85%, 29%)
CMYKcmyk(21.6%, 85.1%, 0%, 71%)
CIE-LABlab(13.43, 32.90, -27.93)
CIE-LCHlch(13.43, 43.16, 319.66°)
OKLaboklab(26.84% 0.0807 -0.0788)
OKLCHoklch(26.84% 0.113 315.7)
XYZxyz(3.1004, 1.6334, 6.6292)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0B4A #1B4A0B
analogous
#1B0B4A #3A0B4A #4A0B3B
triadic
#3A0B4A #4A3A0B #0B4A3A
tetradic
#3A0B4A #4A1B0B #1B4A0B #0B3B4A
square
#3A0B4A #4A1B0B #1B4A0B #0B3B4A
split-complementary
#3A0B4A #3B4A0B #0B4A1B
monochromatic
#15041B #15041B #3A0B4A #64137F #8E1BB5

Accessibility & contrast

On white

15.83
#3A0B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3A0B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0B4A
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0B4A#FFFFFF#000000##FFFFFF
##3A0B4A1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#092449
Tritanopia (blue-blind)
#39192A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a0b4a;
/* rgb */ color: rgb(58, 11, 74);
/* oklch */ color: oklch(26.8% 0.113 315.7);
Tailwind
colors: {
  custom: {
    50: '#73507d',
    500: '#3a0b4a',
    950: '#000000',
  },
}
SCSS
$custom: #3a0b4a;
$custom-light: #73507d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0b4a",
  "rgb": {
    "r": 58,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 284.762,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26843,
    "c": 0.11275,
    "h": 315.7
  },
  "luminance": 0.01633
}

Semantic roles & 50–950 ramp

primary
#3A0B4A
secondary
#42862B
accent
#F13766
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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