#3F0546#3F0546

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

Color values

HEX#3F0546
RGBrgb(63, 5, 70)
HSLhsl(294, 87%, 15%)
HSVhsv(294, 93%, 27%)
CMYKcmyk(10%, 92.9%, 0%, 72.5%)
CIE-LABlab(13.28, 35.42, -25.35)
CIE-LCHlch(13.28, 43.56, 324.41°)
OKLaboklab(26.82% 0.0943 -0.071)
OKLCHoklch(26.82% 0.118 323)
XYZxyz(3.2096, 1.6077, 5.9344)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0546 #0C4605
analogous
#1E0546 #3F0546 #46052D
triadic
#3F0546 #463F05 #05463F
tetradic
#3F0546 #461E05 #0C4605 #052D46
square
#3F0546 #461E05 #0C4605 #052D46
split-complementary
#3F0546 #2D4605 #05461E
monochromatic
#1A021D #1A021D #3F0546 #72097F #A60DB8

Accessibility & contrast

On white

15.89
#3F0546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0546
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0546#FFFFFF#000000##FFFFFF
##3F05461.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#112445
Tritanopia (blue-blind)
#401327
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3f0546;
/* rgb */ color: rgb(63, 5, 70);
/* oklch */ color: oklch(26.8% 0.118 323.0);
Tailwind
colors: {
  custom: {
    50: '#774e7a',
    500: '#3f0546',
    950: '#000000',
  },
}
SCSS
$custom: #3f0546;
$custom-light: #774e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0546",
  "rgb": {
    "r": 63,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 293.538,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26819,
    "c": 0.11805,
    "h": 323
  },
  "luminance": 0.01607
}

Semantic roles & 50–950 ramp

primary
#3F0546
secondary
#2C8621
accent
#FD2B42
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0546

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

Preview Lab → · Contrast checker → · Palette generator →

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