#3A0B43#3A0B43

#3A0B43 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.106 H 320.6°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#3A0B43
RGBrgb(58, 11, 67)
HSLhsl(290, 72%, 15%)
HSVhsv(290, 84%, 26%)
CMYKcmyk(13.4%, 83.6%, 0%, 73.7%)
CIE-LABlab(12.89, 31.32, -23.93)
CIE-LCHlch(12.89, 39.42, 322.62°)
OKLaboklab(26.28% 0.0817 -0.067)
OKLCHoklch(26.28% 0.106 320.6)
XYZxyz(2.8776, 1.5443, 5.4556)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0B43 #14430B
analogous
#1E0B43 #3A0B43 #430B30
triadic
#3A0B43 #433A0B #0B433A
tetradic
#3A0B43 #431E0B #14430B #0B3043
square
#3A0B43 #431E0B #14430B #0B3043
split-complementary
#3A0B43 #30430B #0B431E
monochromatic
#17041A #17041A #3A0B43 #681478 #951CAC

Accessibility & contrast

On white

16.05
#3A0B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0B43
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0B43#FFFFFF#000000##FFFFFF
##3A0B431.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E45
Deuteranopia (green-blind)
#112342
Tritanopia (blue-blind)
#3A1626
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3a0b43;
/* rgb */ color: rgb(58, 11, 67);
/* oklch */ color: oklch(26.3% 0.106 320.6);
Tailwind
colors: {
  custom: {
    50: '#735077',
    500: '#3a0b43',
    950: '#000000',
  },
}
SCSS
$custom: #3a0b43;
$custom-light: #735077;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0b43",
  "rgb": {
    "r": 58,
    "g": 11,
    "b": 67
  },
  "hsl": {
    "h": 290.357,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26283,
    "c": 0.10565,
    "h": 320.6
  },
  "luminance": 0.01544
}

Semantic roles & 50–950 ramp

primary
#3A0B43
secondary
#38802A
accent
#EF3956
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0B43

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

Preview Lab → · Contrast checker → · Palette generator →

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