#3F0339#3F0339

#3F0339 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.7% C 0.110 H 333.0°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#3F0339
RGBrgb(63, 3, 57)
HSLhsl(306, 91%, 13%)
HSVhsv(306, 95%, 25%)
CMYKcmyk(0%, 95.2%, 9.5%, 75.3%)
CIE-LABlab(12.07, 33.80, -18.06)
CIE-LCHlch(12.07, 38.32, 331.89°)
OKLaboklab(25.67% 0.0977 -0.0497)
OKLCHoklch(25.67% 0.11 333)
XYZxyz(2.8210, 1.4175, 3.9951)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0339 #033F09
analogous
#27033F #3F0339 #3F031B
triadic
#3F0339 #393F03 #03393F
tetradic
#3F0339 #3F2703 #033F09 #031B3F
square
#3F0339 #3F2703 #033F09 #031B3F
split-complementary
#3F0339 #1B3F03 #033F27
monochromatic
#1D011A #1D011A #3F0339 #79066E #B409A3

Accessibility & contrast

On white

16.36
#3F0339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#3F0339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0339
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0339#FFFFFF#000000##FFFFFF
##3F03391.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3A
Deuteranopia (green-blind)
#192338
Tritanopia (blue-blind)
#420A1E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3f0339;
/* rgb */ color: rgb(63, 3, 57);
/* oklch */ color: oklch(25.7% 0.110 333.0);
Tailwind
colors: {
  custom: {
    50: '#774d6f',
    500: '#3f0339',
    950: '#000000',
  },
}
SCSS
$custom: #3f0339;
$custom-light: #774d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0339",
  "rgb": {
    "r": 63,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 306,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.25673,
    "c": 0.10963,
    "h": 333
  },
  "luminance": 0.01417
}

Semantic roles & 50–950 ramp

primary
#3F0339
secondary
#1D8127
accent
#FF3E29
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F0339

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

Preview Lab → · Contrast checker → · Palette generator →

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