#3F0541#3F0541

#3F0541 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.4% C 0.114 H 326.7°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#3F0541
RGBrgb(63, 5, 65)
HSLhsl(298, 86%, 14%)
HSVhsv(298, 92%, 25%)
CMYKcmyk(3.1%, 92.3%, 0%, 74.5%)
CIE-LABlab(12.90, 34.44, -22.43)
CIE-LCHlch(12.90, 41.10, 326.92°)
OKLaboklab(26.44% 0.095 -0.0624)
OKLCHoklch(26.44% 0.114 326.7)
XYZxyz(3.0583, 1.5472, 5.1376)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0541 #074105
analogous
#210541 #3F0541 #410525
triadic
#3F0541 #413F05 #05413F
tetradic
#3F0541 #412105 #074105 #052541
square
#3F0541 #412105 #074105 #052541
split-complementary
#3F0541 #254105 #054121
monochromatic
#1C021C #1C021C #3F0541 #76097A #AD0EB3

Accessibility & contrast

On white

16.04
#3F0541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3F0541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0541
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0541#FFFFFF#000000##FFFFFF
##3F05411.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D43
Deuteranopia (green-blind)
#152440
Tritanopia (blue-blind)
#411024
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3f0541;
/* rgb */ color: rgb(63, 5, 65);
/* oklch */ color: oklch(26.4% 0.114 326.7);
Tailwind
colors: {
  custom: {
    50: '#774e76',
    500: '#3f0541',
    950: '#000000',
  },
}
SCSS
$custom: #3f0541;
$custom-light: #774e76;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0541",
  "rgb": {
    "r": 63,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 298,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.26438,
    "c": 0.11365,
    "h": 326.7
  },
  "luminance": 0.01547
}

Semantic roles & 50–950 ramp

primary
#3F0541
secondary
#248120
accent
#FC2C33
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0541

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

Preview Lab → · Contrast checker → · Palette generator →

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