#3B0347#3B0347

#3B0347 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.120 H 319.4°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#3B0347
RGBrgb(59, 3, 71)
HSLhsl(289, 92%, 15%)
HSVhsv(289, 96%, 28%)
CMYKcmyk(16.9%, 95.8%, 0%, 72.2%)
CIE-LABlab(12.29, 35.62, -27.69)
CIE-LCHlch(12.29, 45.12, 322.14°)
OKLaboklab(26% 0.0909 -0.0779)
OKLCHoklch(26% 0.12 319.4)
XYZxyz(2.9734, 1.4500, 6.0833)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0347 #0F4703
analogous
#190347 #3B0347 #470331
triadic
#3B0347 #473B03 #03473B
tetradic
#3B0347 #471903 #0F4703 #033147
square
#3B0347 #471903 #0F4703 #033147
split-complementary
#3B0347 #314703 #034719
monochromatic
#18011D #18011D #3B0347 #6C0582 #9D08BC

Accessibility & contrast

On white

16.28
#3B0347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3B0347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0347
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0347#FFFFFF#000000##FFFFFF
##3B03471.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#082246
Tritanopia (blue-blind)
#3B1327
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3b0347;
/* rgb */ color: rgb(59, 3, 71);
/* oklch */ color: oklch(26.0% 0.120 319.4);
Tailwind
colors: {
  custom: {
    50: '#744d7b',
    500: '#3b0347',
    950: '#000000',
  },
}
SCSS
$custom: #3b0347;
$custom-light: #744d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0347",
  "rgb": {
    "r": 59,
    "g": 3,
    "b": 71
  },
  "hsl": {
    "h": 289.412,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25999,
    "c": 0.11972,
    "h": 319.4
  },
  "luminance": 0.0145
}

Semantic roles & 50–950 ramp

primary
#3B0347
secondary
#30881E
accent
#FF294F
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0347

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

Preview Lab → · Contrast checker → · Palette generator →

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