#3B043B#3B043B

#3B043B is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.2% C 0.108 H 328.2°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#3B043B
RGBrgb(59, 4, 59)
HSLhsl(300, 87%, 12%)
HSVhsv(300, 93%, 23%)
CMYKcmyk(0%, 93.2%, 0%, 76.9%)
CIE-LABlab(11.50, 32.81, -20.45)
CIE-LCHlch(11.50, 38.67, 328.06°)
OKLaboklab(25.15% 0.0917 -0.0568)
OKLCHoklch(25.15% 0.108 328.2)
XYZxyz(2.6364, 1.3326, 4.2552)
Luminance0.0133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B043B #043B04
analogous
#20043B #3B043B #3B0420
triadic
#3B043B #3B3B04 #043B3B
tetradic
#3B043B #3B2004 #043B04 #04203B
square
#3B043B #3B2004 #043B04 #04203B
split-complementary
#3B043B #203B04 #043B20
monochromatic
#1D021D #1D021D #3B043B #740874 #AE0CAE

Accessibility & contrast

On white

16.58
#3B043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#3B043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B043B
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B043B#FFFFFF#000000##FFFFFF
##3B043B1.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#14213A
Tritanopia (blue-blind)
#3D0D20
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3b043b;
/* rgb */ color: rgb(59, 4, 59);
/* oklch */ color: oklch(25.2% 0.108 328.2);
Tailwind
colors: {
  custom: {
    50: '#744d71',
    500: '#3b043b',
    950: '#000000',
  },
}
SCSS
$custom: #3b043b;
$custom-light: #744d71;
$custom-dark: #000000;
JSON
{
  "hex": "#3b043b",
  "rgb": {
    "r": 59,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 300,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.25152,
    "c": 0.10782,
    "h": 328.2
  },
  "luminance": 0.01332
}

Semantic roles & 50–950 ramp

primary
#3B043B
secondary
#1E7D1E
accent
#FD2A2A
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #3B043B

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

Preview Lab → · Contrast checker → · Palette generator →

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