#3F0438#3F0438

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

Color values

HEX#3F0438
RGBrgb(63, 4, 56)
HSLhsl(307, 88%, 13%)
HSVhsv(307, 94%, 25%)
CMYKcmyk(0%, 93.7%, 11.1%, 75.3%)
CIE-LABlab(12.15, 33.21, -17.21)
CIE-LCHlch(12.15, 37.41, 332.60°)
OKLaboklab(25.71% 0.0965 -0.0473)
OKLCHoklch(25.71% 0.107 333.9)
XYZxyz(2.8072, 1.4294, 3.8687)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0438 #043F0B
analogous
#28043F #3F0438 #3F041A
triadic
#3F0438 #383F04 #04383F
tetradic
#3F0438 #3F2804 #043F0B #041A3F
square
#3F0438 #3F2804 #043F0B #041A3F
split-complementary
#3F0438 #1A3F04 #043F28
monochromatic
#1D021A #1D021A #3F0438 #79086B #B20B9E

Accessibility & contrast

On white

16.33
#3F0438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0438
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0438#FFFFFF#000000##FFFFFF
##3F04381.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021A39
Deuteranopia (green-blind)
#1A2337
Tritanopia (blue-blind)
#420A1E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3f0438;
/* rgb */ color: rgb(63, 4, 56);
/* oklch */ color: oklch(25.7% 0.107 333.9);
Tailwind
colors: {
  custom: {
    50: '#774d6f',
    500: '#3f0438',
    950: '#000000',
  },
}
SCSS
$custom: #3f0438;
$custom-light: #774d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0438",
  "rgb": {
    "r": 63,
    "g": 4,
    "b": 56
  },
  "hsl": {
    "h": 307.119,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25707,
    "c": 0.10745,
    "h": 333.9
  },
  "luminance": 0.01429
}

Semantic roles & 50–950 ramp

primary
#3F0438
secondary
#1E802A
accent
#FE432A
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F0438

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

Preview Lab → · Contrast checker → · Palette generator →

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