#3F0747#3F0747

#3F0747 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.117 H 322.2°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#3F0747
RGBrgb(63, 7, 71)
HSLhsl(293, 82%, 15%)
HSVhsv(293, 90%, 28%)
CMYKcmyk(11.3%, 90.1%, 0%, 72.2%)
CIE-LABlab(13.61, 34.86, -25.51)
CIE-LCHlch(13.61, 43.20, 323.81°)
OKLaboklab(27.08% 0.0921 -0.0715)
OKLCHoklch(27.08% 0.117 322.2)
XYZxyz(3.2631, 1.6638, 6.1093)
Luminance0.0166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0747 #0F4707
analogous
#1F0747 #3F0747 #47072F
triadic
#3F0747 #473F07 #07473F
tetradic
#3F0747 #471F07 #0F4707 #072F47
square
#3F0747 #471F07 #0F4707 #072F47
split-complementary
#3F0747 #2F4707 #07471F
monochromatic
#19031C #19031C #3F0747 #700C7F #A212B6

Accessibility & contrast

On white

15.76
#3F0747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3F0747 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0747
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0747#FFFFFF#000000##FFFFFF
##3F07471.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F49
Deuteranopia (green-blind)
#112546
Tritanopia (blue-blind)
#401528
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0747;
/* rgb */ color: rgb(63, 7, 71);
/* oklch */ color: oklch(27.1% 0.117 322.2);
Tailwind
colors: {
  custom: {
    50: '#774f7a',
    500: '#3f0747',
    950: '#000000',
  },
}
SCSS
$custom: #3f0747;
$custom-light: #774f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0747",
  "rgb": {
    "r": 63,
    "g": 7,
    "b": 71
  },
  "hsl": {
    "h": 292.5,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27081,
    "c": 0.11659,
    "h": 322.2
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#3F0747
secondary
#308624
accent
#F82F49
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0747

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

Preview Lab → · Contrast checker → · Palette generator →

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