#3A0B3E#3A0B3E

#3A0B3E is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.101 H 324.5°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#3A0B3E
RGBrgb(58, 11, 62)
HSLhsl(295, 70%, 14%)
HSVhsv(295, 82%, 24%)
CMYKcmyk(6.5%, 82.3%, 0%, 75.7%)
CIE-LABlab(12.52, 30.25, -20.98)
CIE-LCHlch(12.52, 36.81, 325.26°)
OKLaboklab(25.91% 0.082 -0.0584)
OKLCHoklch(25.91% 0.101 324.5)
XYZxyz(2.7340, 1.4869, 4.6995)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0B3E #0F3E0B
analogous
#210B3E #3A0B3E #3E0B29
triadic
#3A0B3E #3E3A0B #0B3E3A
tetradic
#3A0B3E #3E210B #0F3E0B #0B293E
square
#3A0B3E #3E210B #0F3E0B #0B293E
split-complementary
#3A0B3E #293E0B #0B3E21
monochromatic
#18051A #18051A #3A0B3E #6B1472 #9B1DA6

Accessibility & contrast

On white

16.19
#3A0B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3A0B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0B3E
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0B3E#FFFFFF#000000##FFFFFF
##3A0B3E1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D3F
Deuteranopia (green-blind)
#15223D
Tritanopia (blue-blind)
#3B1423
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3a0b3e;
/* rgb */ color: rgb(58, 11, 62);
/* oklch */ color: oklch(25.9% 0.101 324.5);
Tailwind
colors: {
  custom: {
    50: '#725073',
    500: '#3a0b3e',
    950: '#000000',
  },
}
SCSS
$custom: #3a0b3e;
$custom-light: #725073;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0b3e",
  "rgb": {
    "r": 58,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 295.294,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25909,
    "c": 0.1007,
    "h": 324.5
  },
  "luminance": 0.01487
}

Semantic roles & 50–950 ramp

primary
#3A0B3E
secondary
#307B2A
accent
#ED3B49
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A0B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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