#3F043C#3F043C

#3F043C is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.111 H 330.6°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#3F043C
RGBrgb(63, 4, 60)
HSLhsl(303, 88%, 13%)
HSVhsv(303, 94%, 25%)
CMYKcmyk(0%, 93.7%, 4.8%, 75.3%)
CIE-LABlab(12.42, 33.91, -19.66)
CIE-LCHlch(12.42, 39.20, 329.90°)
OKLaboklab(25.98% 0.0964 -0.0544)
OKLCHoklch(25.98% 0.111 330.6)
XYZxyz(2.9089, 1.4701, 4.4046)
Luminance0.0147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F043C #043F07
analogous
#24043F #3F043C #3F041E
triadic
#3F043C #3C3F04 #043C3F
tetradic
#3F043C #3F2404 #043F07 #041E3F
square
#3F043C #3F2404 #043F07 #041E3F
split-complementary
#3F043C #1E3F04 #043F24
monochromatic
#1D021B #1D021B #3F043C #790873 #B20BAA

Accessibility & contrast

On white

16.23
#3F043C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F043C
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F043C#FFFFFF#000000##FFFFFF
##3F043C1.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#18233B
Tritanopia (blue-blind)
#420D20
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3f043c;
/* rgb */ color: rgb(63, 4, 60);
/* oklch */ color: oklch(26.0% 0.111 330.6);
Tailwind
colors: {
  custom: {
    50: '#774d72',
    500: '#3f043c',
    950: '#000000',
  },
}
SCSS
$custom: #3f043c;
$custom-light: #774d72;
$custom-dark: #000000;
JSON
{
  "hex": "#3f043c",
  "rgb": {
    "r": 63,
    "g": 4,
    "b": 60
  },
  "hsl": {
    "h": 303.051,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2598,
    "c": 0.11072,
    "h": 330.6
  },
  "luminance": 0.0147
}

Semantic roles & 50–950 ramp

primary
#3F043C
secondary
#1E8023
accent
#FE342A
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F043C

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

Preview Lab → · Contrast checker → · Palette generator →

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