#3A0B39#3A0B39

#3A0B39 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.6% C 0.096 H 328.8°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#3A0B39
RGBrgb(58, 11, 57)
HSLhsl(301, 68%, 14%)
HSVhsv(301, 81%, 23%)
CMYKcmyk(0%, 81%, 1.7%, 77.3%)
CIE-LABlab(12.19, 29.23, -17.95)
CIE-LCHlch(12.19, 34.29, 328.45°)
OKLaboklab(25.56% 0.0821 -0.0496)
OKLCHoklch(25.56% 0.096 328.8)
XYZxyz(2.6031, 1.4345, 4.0099)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0B39 #0B3A0C
analogous
#230B3A #3A0B39 #3A0B21
triadic
#3A0B39 #393A0B #0B393A
tetradic
#3A0B39 #3A230B #0B3A0C #0B213A
square
#3A0B39 #3A230B #0B3A0C #0B213A
split-complementary
#3A0B39 #213A0B #0B3A23
monochromatic
#1A0519 #1A0519 #3A0B39 #6D156C #A11F9E

Accessibility & contrast

On white

16.32
#3A0B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3A0B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0B39
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0B39#FFFFFF#000000##FFFFFF
##3A0B391.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3A
Deuteranopia (green-blind)
#182238
Tritanopia (blue-blind)
#3C1221
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a0b39;
/* rgb */ color: rgb(58, 11, 57);
/* oklch */ color: oklch(25.6% 0.096 328.8);
Tailwind
colors: {
  custom: {
    50: '#724f6f',
    500: '#3a0b39',
    950: '#000000',
  },
}
SCSS
$custom: #3a0b39;
$custom-light: #724f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0b39",
  "rgb": {
    "r": 58,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 301.277,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25556,
    "c": 0.09588,
    "h": 328.8
  },
  "luminance": 0.01434
}

Semantic roles & 50–950 ramp

primary
#3A0B39
secondary
#2A772C
accent
#EB413D
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A0B39

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

Preview Lab → · Contrast checker → · Palette generator →

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