#3F043A#3F043A

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

Color values

HEX#3F043A
RGBrgb(63, 4, 58)
HSLhsl(305, 88%, 13%)
HSVhsv(305, 94%, 25%)
CMYKcmyk(0%, 93.7%, 7.9%, 75.3%)
CIE-LABlab(12.28, 33.56, -18.44)
CIE-LCHlch(12.28, 38.29, 331.21°)
OKLaboklab(25.84% 0.0965 -0.0508)
OKLCHoklch(25.84% 0.109 332.2)
XYZxyz(2.8570, 1.4493, 4.1314)
Luminance0.0145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F043A #043F09
analogous
#26043F #3F043A #3F041C
triadic
#3F043A #3A3F04 #043A3F
tetradic
#3F043A #3F2604 #043F09 #041C3F
square
#3F043A #3F2604 #043F09 #041C3F
split-complementary
#3F043A #1C3F04 #043F26
monochromatic
#1D021A #1D021A #3F043A #79086F #B20BA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F043A#FFFFFF#000000##FFFFFF
##3F043A1.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)
#011B3B
Deuteranopia (green-blind)
#192339
Tritanopia (blue-blind)
#420B1F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3f043a;
/* rgb */ color: rgb(63, 4, 58);
/* oklch */ color: oklch(25.8% 0.109 332.2);
Tailwind
colors: {
  custom: {
    50: '#774d70',
    500: '#3f043a',
    950: '#000000',
  },
}
SCSS
$custom: #3f043a;
$custom-light: #774d70;
$custom-dark: #000000;
JSON
{
  "hex": "#3f043a",
  "rgb": {
    "r": 63,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 305.085,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25842,
    "c": 0.10907,
    "h": 332.2
  },
  "luminance": 0.01449
}

Semantic roles & 50–950 ramp

primary
#3F043A
secondary
#1E8027
accent
#FE3C2A
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F043A

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

Preview Lab → · Contrast checker → · Palette generator →

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