#3F0647#3F0647

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

Color values

HEX#3F0647
RGBrgb(63, 6, 71)
HSLhsl(293, 84%, 15%)
HSVhsv(293, 92%, 28%)
CMYKcmyk(11.3%, 91.5%, 0%, 72.2%)
CIE-LABlab(13.48, 35.24, -25.72)
CIE-LCHlch(13.48, 43.62, 323.88°)
OKLaboklab(26.99% 0.0931 -0.0721)
OKLCHoklch(26.99% 0.118 322.3)
XYZxyz(3.2522, 1.6421, 6.1057)
Luminance0.0164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0647 #0E4706
analogous
#1E0647 #3F0647 #47062F
triadic
#3F0647 #473F06 #06473F
tetradic
#3F0647 #471E06 #0E4706 #062F47
square
#3F0647 #471E06 #0E4706 #062F47
split-complementary
#3F0647 #2F4706 #06471E
monochromatic
#19021C #19021C #3F0647 #710B7F #A310B8

Accessibility & contrast

On white

15.81
#3F0647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0647
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0647#FFFFFF#000000##FFFFFF
##3F06471.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f0647;
/* rgb */ color: rgb(63, 6, 71);
/* oklch */ color: oklch(27.0% 0.118 322.3);
Tailwind
colors: {
  custom: {
    50: '#774f7b',
    500: '#3f0647',
    950: '#000000',
  },
}
SCSS
$custom: #3f0647;
$custom-light: #774f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0647",
  "rgb": {
    "r": 63,
    "g": 6,
    "b": 71
  },
  "hsl": {
    "h": 292.615,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2699,
    "c": 0.11775,
    "h": 322.3
  },
  "luminance": 0.01642
}

Semantic roles & 50–950 ramp

primary
#3F0647
secondary
#2F8623
accent
#FB2D46
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0647

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

Preview Lab → · Contrast checker → · Palette generator →

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