#3B0943#3B0943

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

Color values

HEX#3B0943
RGBrgb(59, 9, 67)
HSLhsl(292, 76%, 15%)
HSVhsv(292, 87%, 26%)
CMYKcmyk(11.9%, 86.6%, 0%, 73.7%)
CIE-LABlab(12.80, 32.35, -24.05)
CIE-LCHlch(12.80, 40.31, 323.37°)
OKLaboklab(26.26% 0.0852 -0.0674)
OKLCHoklch(26.26% 0.109 321.7)
XYZxyz(2.9143, 1.5306, 5.4510)
Luminance0.0153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0943 #114309
analogous
#1E0943 #3B0943 #43092E
triadic
#3B0943 #433B09 #09433B
tetradic
#3B0943 #431E09 #114309 #092E43
square
#3B0943 #431E09 #114309 #092E43
split-complementary
#3B0943 #2E4309 #09431E
monochromatic
#18041B #18041B #3B0943 #6B1079 #9A17AF

Accessibility & contrast

On white

16.08
#3B0943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0943
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0943#FFFFFF#000000##FFFFFF
##3B09431.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b0943;
/* rgb */ color: rgb(59, 9, 67);
/* oklch */ color: oklch(26.3% 0.109 321.7);
Tailwind
colors: {
  custom: {
    50: '#734f77',
    500: '#3b0943',
    950: '#000000',
  },
}
SCSS
$custom: #3b0943;
$custom-light: #734f77;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0943",
  "rgb": {
    "r": 59,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 291.724,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2626,
    "c": 0.10858,
    "h": 321.7
  },
  "luminance": 0.0153
}

Semantic roles & 50–950 ramp

primary
#3B0943
secondary
#338127
accent
#F3354F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0943

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

Preview Lab → · Contrast checker → · Palette generator →

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