#3B043A#3B043A

#3B043A is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.1% C 0.107 H 329.0°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#3B043A
RGBrgb(59, 4, 58)
HSLhsl(301, 87%, 12%)
HSVhsv(301, 93%, 23%)
CMYKcmyk(0%, 93.2%, 1.7%, 76.9%)
CIE-LABlab(11.43, 32.63, -19.85)
CIE-LCHlch(11.43, 38.19, 328.68°)
OKLaboklab(25.08% 0.0917 -0.055)
OKLCHoklch(25.08% 0.107 329)
XYZxyz(2.6107, 1.3223, 4.1199)
Luminance0.0132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B043A #043B05
analogous
#21043B #3B043A #3B041F
triadic
#3B043A #3A3B04 #043A3B
tetradic
#3B043A #3B2104 #043B05 #041F3B
square
#3B043A #3B2104 #043B05 #041F3B
split-complementary
#3B043A #1F3B04 #043B21
monochromatic
#1D021C #1D021C #3B043A #740872 #AE0CAB

Accessibility & contrast

On white

16.61
#3B043A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#3B043A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B043A
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B043A#FFFFFF#000000##FFFFFF
##3B043A1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#152139
Tritanopia (blue-blind)
#3D0D1F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3b043a;
/* rgb */ color: rgb(59, 4, 58);
/* oklch */ color: oklch(25.1% 0.107 329.0);
Tailwind
colors: {
  custom: {
    50: '#744c70',
    500: '#3b043a',
    950: '#000000',
  },
}
SCSS
$custom: #3b043a;
$custom-light: #744c70;
$custom-dark: #000000;
JSON
{
  "hex": "#3b043a",
  "rgb": {
    "r": 59,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 301.091,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.25079,
    "c": 0.10697,
    "h": 329
  },
  "luminance": 0.01322
}

Semantic roles & 50–950 ramp

primary
#3B043A
secondary
#1E7D20
accent
#FD2E2A
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #3B043A

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

Preview Lab → · Contrast checker → · Palette generator →

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