#3F0437#3F0437

#3F0437 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.6% C 0.107 H 334.8°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#3F0437
RGBrgb(63, 4, 55)
HSLhsl(308, 88%, 13%)
HSVhsv(308, 94%, 25%)
CMYKcmyk(0%, 93.7%, 12.7%, 75.3%)
CIE-LABlab(12.09, 33.04, -16.59)
CIE-LCHlch(12.09, 36.97, 333.33°)
OKLaboklab(25.64% 0.0965 -0.0455)
OKLCHoklch(25.64% 0.107 334.8)
XYZxyz(2.7829, 1.4197, 3.7412)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0437 #043F0C
analogous
#29043F #3F0437 #3F0419
triadic
#3F0437 #373F04 #04373F
tetradic
#3F0437 #3F2904 #043F0C #04193F
square
#3F0437 #3F2904 #043F0C #04193F
split-complementary
#3F0437 #193F04 #043F29
monochromatic
#1D0219 #1D0219 #3F0437 #790869 #B20B9B

Accessibility & contrast

On white

16.36
#3F0437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#3F0437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0437
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0437#FFFFFF#000000##FFFFFF
##3F04371.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A38
Deuteranopia (green-blind)
#1A2336
Tritanopia (blue-blind)
#43091E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3f0437;
/* rgb */ color: rgb(63, 4, 55);
/* oklch */ color: oklch(25.6% 0.107 334.8);
Tailwind
colors: {
  custom: {
    50: '#774d6e',
    500: '#3f0437',
    950: '#000000',
  },
}
SCSS
$custom: #3f0437;
$custom-light: #774d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0437",
  "rgb": {
    "r": 63,
    "g": 4,
    "b": 55
  },
  "hsl": {
    "h": 308.136,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25641,
    "c": 0.10666,
    "h": 334.8
  },
  "luminance": 0.01419
}

Semantic roles & 50–950 ramp

primary
#3F0437
secondary
#1E802C
accent
#FE462A
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F0437

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

Preview Lab → · Contrast checker → · Palette generator →

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