#3F0538#3F0538

#3F0538 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.8% C 0.106 H 333.9°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#3F0538
RGBrgb(63, 5, 56)
HSLhsl(307, 85%, 13%)
HSVhsv(307, 92%, 25%)
CMYKcmyk(0%, 92.1%, 11.1%, 75.3%)
CIE-LABlab(12.29, 32.80, -16.99)
CIE-LCHlch(12.29, 36.94, 332.62°)
OKLaboklab(25.81% 0.0953 -0.0466)
OKLCHoklch(25.81% 0.106 333.9)
XYZxyz(2.8180, 1.4511, 3.8723)
Luminance0.0145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0538 #053F0C
analogous
#29053F #3F0538 #3F051B
triadic
#3F0538 #383F05 #05383F
tetradic
#3F0538 #3F2905 #053F0C #051B3F
square
#3F0538 #3F2905 #053F0C #051B3F
split-complementary
#3F0538 #1B3F05 #053F29
monochromatic
#1C0219 #1C0219 #3F0538 #78096A #B00E9D

Accessibility & contrast

On white

16.28
#3F0538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3F0538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0538
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0538#FFFFFF#000000##FFFFFF
##3F05381.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041B39
Deuteranopia (green-blind)
#1A2337
Tritanopia (blue-blind)
#420B1E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3f0538;
/* rgb */ color: rgb(63, 5, 56);
/* oklch */ color: oklch(25.8% 0.106 333.9);
Tailwind
colors: {
  custom: {
    50: '#774e6f',
    500: '#3f0538',
    950: '#000000',
  },
}
SCSS
$custom: #3f0538;
$custom-light: #774e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0538",
  "rgb": {
    "r": 63,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 307.241,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25808,
    "c": 0.10608,
    "h": 333.9
  },
  "luminance": 0.01451
}

Semantic roles & 50–950 ramp

primary
#3F0538
secondary
#20802C
accent
#FC452C
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F0538

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

Preview Lab → · Contrast checker → · Palette generator →

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