#3F043E#3F043E

#3F043E is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.112 H 329.0°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#3F043E
RGBrgb(63, 4, 62)
HSLhsl(301, 88%, 13%)
HSVhsv(301, 94%, 25%)
CMYKcmyk(0%, 93.7%, 1.6%, 75.3%)
CIE-LABlab(12.55, 34.28, -20.87)
CIE-LCHlch(12.55, 40.13, 328.67°)
OKLaboklab(26.12% 0.0963 -0.0579)
OKLCHoklch(26.12% 0.112 329)
XYZxyz(2.9628, 1.4916, 4.6884)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F043E #043F05
analogous
#22043F #3F043E #3F0420
triadic
#3F043E #3E3F04 #043E3F
tetradic
#3F043E #3F2204 #043F05 #04203F
square
#3F043E #3F2204 #043F05 #04203F
split-complementary
#3F043E #203F04 #043F22
monochromatic
#1D021C #1D021C #3F043E #790877 #B20BAF

Accessibility & contrast

On white

16.18
#3F043E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3F043E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F043E
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F043E#FFFFFF#000000##FFFFFF
##3F043E1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#17233D
Tritanopia (blue-blind)
#420E22
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3f043e;
/* rgb */ color: rgb(63, 4, 62);
/* oklch */ color: oklch(26.1% 0.112 329.0);
Tailwind
colors: {
  custom: {
    50: '#774e73',
    500: '#3f043e',
    950: '#000000',
  },
}
SCSS
$custom: #3f043e;
$custom-light: #774e73;
$custom-dark: #000000;
JSON
{
  "hex": "#3f043e",
  "rgb": {
    "r": 63,
    "g": 4,
    "b": 62
  },
  "hsl": {
    "h": 301.017,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.26123,
    "c": 0.11239,
    "h": 329
  },
  "luminance": 0.01491
}

Semantic roles & 50–950 ramp

primary
#3F043E
secondary
#1E8020
accent
#FE2D2A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F043E

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

Preview Lab → · Contrast checker → · Palette generator →

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