#3F0F47#3F0F47

#3F0F47 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.107 H 321.6°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#3F0F47
RGBrgb(63, 15, 71)
HSLhsl(291, 65%, 17%)
HSVhsv(291, 79%, 28%)
CMYKcmyk(11.3%, 78.9%, 0%, 72.2%)
CIE-LABlab(14.70, 31.74, -23.77)
CIE-LCHlch(14.70, 39.65, 323.17°)
OKLaboklab(27.85% 0.0837 -0.0664)
OKLCHoklch(27.85% 0.107 321.6)
XYZxyz(3.3579, 1.8535, 6.1409)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F47 #17470F
analogous
#230F47 #3F0F47 #470F33
triadic
#3F0F47 #473F0F #0F473F
tetradic
#3F0F47 #47230F #17470F #0F3347
square
#3F0F47 #47230F #17470F #0F3347
split-complementary
#3F0F47 #33470F #0F4723
monochromatic
#160519 #160519 #3F0F47 #6C1A7A #9924AC

Accessibility & contrast

On white

15.32
#3F0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3F0F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F47
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F47#FFFFFF#000000##FFFFFF
##3F0F471.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002249
Deuteranopia (green-blind)
#162746
Tritanopia (blue-blind)
#40192A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f0f47;
/* rgb */ color: rgb(63, 15, 71);
/* oklch */ color: oklch(27.9% 0.107 321.6);
Tailwind
colors: {
  custom: {
    50: '#76537a',
    500: '#3f0f47',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f47;
$custom-light: #76537a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f47",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 291.429,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27851,
    "c": 0.10688,
    "h": 321.6
  },
  "luminance": 0.01853
}

Semantic roles & 50–950 ramp

primary
#3F0F47
secondary
#3C8130
accent
#E84058
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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