#3F0347#3F0347

#3F0347 is a dark, vivid purple. Relative luminance 0.016; OKLCH L 26.7% C 0.121 H 322.5°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#3F0347
RGBrgb(63, 3, 71)
HSLhsl(293, 92%, 15%)
HSVhsv(293, 96%, 28%)
CMYKcmyk(11.3%, 95.8%, 0%, 72.2%)
CIE-LABlab(13.09, 36.40, -26.35)
CIE-LCHlch(13.09, 44.93, 324.09°)
OKLaboklab(26.71% 0.0963 -0.0739)
OKLCHoklch(26.71% 0.121 322.5)
XYZxyz(3.2197, 1.5770, 6.0948)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0347 #0B4703
analogous
#1D0347 #3F0347 #47032D
triadic
#3F0347 #473F03 #03473F
tetradic
#3F0347 #471D03 #0B4703 #032D47
square
#3F0347 #471D03 #0B4703 #032D47
split-complementary
#3F0347 #2D4703 #03471D
monochromatic
#1A011D #1A011D #3F0347 #730582 #A708BC

Accessibility & contrast

On white

15.96
#3F0347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3F0347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0347
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0347#FFFFFF#000000##FFFFFF
##3F03471.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#0F2446
Tritanopia (blue-blind)
#401227
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3f0347;
/* rgb */ color: rgb(63, 3, 71);
/* oklch */ color: oklch(26.7% 0.121 322.5);
Tailwind
colors: {
  custom: {
    50: '#774e7b',
    500: '#3f0347',
    950: '#000000',
  },
}
SCSS
$custom: #3f0347;
$custom-light: #774e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0347",
  "rgb": {
    "r": 63,
    "g": 3,
    "b": 71
  },
  "hsl": {
    "h": 292.941,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26713,
    "c": 0.12134,
    "h": 322.5
  },
  "luminance": 0.01577
}

Semantic roles & 50–950 ramp

primary
#3F0347
secondary
#2A881E
accent
#FF2942
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0347

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

Preview Lab → · Contrast checker → · Palette generator →

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