#3A0B47#3A0B47

#3A0B47 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.110 H 317.7°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#3A0B47
RGBrgb(58, 11, 71)
HSLhsl(287, 73%, 16%)
HSVhsv(287, 85%, 28%)
CMYKcmyk(18.3%, 84.5%, 0%, 72.2%)
CIE-LABlab(13.19, 32.21, -26.23)
CIE-LCHlch(13.19, 41.54, 320.84°)
OKLaboklab(26.6% 0.0812 -0.0738)
OKLCHoklch(26.6% 0.11 317.7)
XYZxyz(3.0018, 1.5940, 6.1096)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0B47 #18470B
analogous
#1C0B47 #3A0B47 #470B36
triadic
#3A0B47 #473A0B #0B473A
tetradic
#3A0B47 #471C0B #18470B #0B3647
square
#3A0B47 #471C0B #18470B #0B3647
split-complementary
#3A0B47 #36470B #0B471C
monochromatic
#16041A #16041A #3A0B47 #65137C #911BB1

Accessibility & contrast

On white

15.92
#3A0B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0B47
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0B47#FFFFFF#000000##FFFFFF
##3A0B471.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F49
Deuteranopia (green-blind)
#0D2346
Tritanopia (blue-blind)
#391828
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a0b47;
/* rgb */ color: rgb(58, 11, 71);
/* oklch */ color: oklch(26.6% 0.110 317.7);
Tailwind
colors: {
  custom: {
    50: '#73507b',
    500: '#3a0b47',
    950: '#000000',
  },
}
SCSS
$custom: #3a0b47;
$custom-light: #73507b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0b47",
  "rgb": {
    "r": 58,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 287,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26598,
    "c": 0.10969,
    "h": 317.7
  },
  "luminance": 0.01594
}

Semantic roles & 50–950 ramp

primary
#3A0B47
secondary
#3E832A
accent
#F03860
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0B47

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

Preview Lab → · Contrast checker → · Palette generator →

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