#3F0547#3F0547

#3F0547 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.9% C 0.119 H 322.3°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#3F0547
RGBrgb(63, 5, 71)
HSLhsl(293, 87%, 15%)
HSVhsv(293, 93%, 28%)
CMYKcmyk(11.3%, 93%, 0%, 72.2%)
CIE-LABlab(13.35, 35.62, -25.93)
CIE-LCHlch(13.35, 44.06, 323.95°)
OKLaboklab(26.9% 0.0942 -0.0727)
OKLCHoklch(26.9% 0.119 322.3)
XYZxyz(3.2414, 1.6204, 6.1021)
Luminance0.0162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0547 #0D4705
analogous
#1E0547 #3F0547 #47052E
triadic
#3F0547 #473F05 #05473F
tetradic
#3F0547 #471E05 #0D4705 #052E47
square
#3F0547 #471E05 #0D4705 #052E47
split-complementary
#3F0547 #2E4705 #05471E
monochromatic
#19021D #19021D #3F0547 #720980 #A40DB9

Accessibility & contrast

On white

15.86
#3F0547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0547
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0547#FFFFFF#000000##FFFFFF
##3F05471.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#102446
Tritanopia (blue-blind)
#401427
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3f0547;
/* rgb */ color: rgb(63, 5, 71);
/* oklch */ color: oklch(26.9% 0.119 322.3);
Tailwind
colors: {
  custom: {
    50: '#774f7b',
    500: '#3f0547',
    950: '#000000',
  },
}
SCSS
$custom: #3f0547;
$custom-light: #774f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0547",
  "rgb": {
    "r": 63,
    "g": 5,
    "b": 71
  },
  "hsl": {
    "h": 292.727,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26898,
    "c": 0.11894,
    "h": 322.3
  },
  "luminance": 0.0162
}

Semantic roles & 50–950 ramp

primary
#3F0547
secondary
#2D8721
accent
#FD2B44
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0547

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

Preview Lab → · Contrast checker → · Palette generator →

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