#3F043F#3F043F

#3F043F is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.2% C 0.113 H 328.2°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#3F043F
RGBrgb(63, 4, 63)
HSLhsl(300, 88%, 13%)
HSVhsv(300, 94%, 25%)
CMYKcmyk(0%, 93.7%, 0%, 75.3%)
CIE-LABlab(12.63, 34.46, -21.47)
CIE-LCHlch(12.63, 40.60, 328.08°)
OKLaboklab(26.2% 0.0963 -0.0596)
OKLCHoklch(26.2% 0.113 328.2)
XYZxyz(2.9905, 1.5027, 4.8342)
Luminance0.0150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F043F #043F04
analogous
#21043F #3F043F #3F0421
triadic
#3F043F #3F3F04 #043F3F
tetradic
#3F043F #3F2104 #043F04 #04213F
square
#3F043F #3F2104 #043F04 #04213F
split-complementary
#3F043F #213F04 #043F21
monochromatic
#1D021D #1D021D #3F043F #790879 #B20BB2

Accessibility & contrast

On white

16.15
#3F043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F043F
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F043F#FFFFFF#000000##FFFFFF
##3F043F1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#16233E
Tritanopia (blue-blind)
#410E22
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3f043f;
/* rgb */ color: rgb(63, 4, 63);
/* oklch */ color: oklch(26.2% 0.113 328.2);
Tailwind
colors: {
  custom: {
    50: '#774e74',
    500: '#3f043f',
    950: '#000000',
  },
}
SCSS
$custom: #3f043f;
$custom-light: #774e74;
$custom-dark: #000000;
JSON
{
  "hex": "#3f043f",
  "rgb": {
    "r": 63,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 300,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.26195,
    "c": 0.11323,
    "h": 328.2
  },
  "luminance": 0.01502
}

Semantic roles & 50–950 ramp

primary
#3F043F
secondary
#1E801E
accent
#FE2A2A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F043F

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

Preview Lab → · Contrast checker → · Palette generator →

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