#3F0E47#3F0E47

#3F0E47 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.108 H 321.7°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#3F0E47
RGBrgb(63, 14, 71)
HSLhsl(292, 67%, 17%)
HSVhsv(292, 80%, 28%)
CMYKcmyk(11.3%, 80.3%, 0%, 72.2%)
CIE-LABlab(14.55, 32.17, -24.01)
CIE-LCHlch(14.55, 40.15, 323.26°)
OKLaboklab(27.74% 0.0849 -0.0671)
OKLCHoklch(27.74% 0.108 321.7)
XYZxyz(3.3441, 1.8260, 6.1363)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0E47 #16470E
analogous
#230E47 #3F0E47 #470E33
triadic
#3F0E47 #473F0E #0E473F
tetradic
#3F0E47 #47230E #16470E #0E3347
square
#3F0E47 #47230E #16470E #0E3347
split-complementary
#3F0E47 #33470E #0E4723
monochromatic
#17051A #17051A #3F0E47 #6C187A #9A22AD

Accessibility & contrast

On white

15.38
#3F0E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0E47
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0E47#FFFFFF#000000##FFFFFF
##3F0E471.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#152746
Tritanopia (blue-blind)
#401929
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f0e47;
/* rgb */ color: rgb(63, 14, 71);
/* oklch */ color: oklch(27.7% 0.108 321.7);
Tailwind
colors: {
  custom: {
    50: '#76527a',
    500: '#3f0e47',
    950: '#000000',
  },
}
SCSS
$custom: #3f0e47;
$custom-light: #76527a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0e47",
  "rgb": {
    "r": 63,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 291.579,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27742,
    "c": 0.10824,
    "h": 321.7
  },
  "luminance": 0.01826
}

Semantic roles & 50–950 ramp

primary
#3F0E47
secondary
#3B822F
accent
#EA3E56
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0E47

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

Preview Lab → · Contrast checker → · Palette generator →

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