#3F043B#3F043B

#3F043B is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.110 H 331.4°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#3F043B
RGBrgb(63, 4, 59)
HSLhsl(304, 88%, 13%)
HSVhsv(304, 94%, 25%)
CMYKcmyk(0%, 93.7%, 6.3%, 75.3%)
CIE-LABlab(12.35, 33.73, -19.05)
CIE-LCHlch(12.35, 38.74, 330.54°)
OKLaboklab(25.91% 0.0965 -0.0526)
OKLCHoklch(25.91% 0.11 331.4)
XYZxyz(2.8827, 1.4596, 4.2667)
Luminance0.0146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F043B #043F08
analogous
#25043F #3F043B #3F041D
triadic
#3F043B #3B3F04 #043B3F
tetradic
#3F043B #3F2504 #043F08 #041D3F
square
#3F043B #3F2504 #043F08 #041D3F
split-complementary
#3F043B #1D3F04 #043F25
monochromatic
#1D021B #1D021B #3F043B #790871 #B20BA7

Accessibility & contrast

On white

16.26
#3F043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F043B
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F043B#FFFFFF#000000##FFFFFF
##3F043B1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3C
Deuteranopia (green-blind)
#18233A
Tritanopia (blue-blind)
#420C20
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3f043b;
/* rgb */ color: rgb(63, 4, 59);
/* oklch */ color: oklch(25.9% 0.110 331.4);
Tailwind
colors: {
  custom: {
    50: '#774d71',
    500: '#3f043b',
    950: '#000000',
  },
}
SCSS
$custom: #3f043b;
$custom-light: #774d71;
$custom-dark: #000000;
JSON
{
  "hex": "#3f043b",
  "rgb": {
    "r": 63,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 304.068,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25911,
    "c": 0.10989,
    "h": 331.4
  },
  "luminance": 0.01459
}

Semantic roles & 50–950 ramp

primary
#3F043B
secondary
#1E8025
accent
#FE382A
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F043B

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

Preview Lab → · Contrast checker → · Palette generator →

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