#3F0D42#3F0D42

#3F0D42 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.3% C 0.105 H 325.5°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#3F0D42
RGBrgb(63, 13, 66)
HSLhsl(297, 67%, 15%)
HSVhsv(297, 80%, 26%)
CMYKcmyk(4.5%, 80.3%, 0%, 74.1%)
CIE-LABlab(14.05, 31.54, -21.31)
CIE-LCHlch(14.05, 38.07, 325.95°)
OKLaboklab(27.27% 0.0863 -0.0593)
OKLCHoklch(27.27% 0.105 325.5)
XYZxyz(3.1771, 1.7382, 5.3214)
Luminance0.0174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D42 #10420D
analogous
#240D42 #3F0D42 #420D2A
triadic
#3F0D42 #423F0D #0D423F
tetradic
#3F0D42 #42240D #10420D #0D2A42
square
#3F0D42 #42240D #10420D #0D2A42
split-complementary
#3F0D42 #2A420D #0D4224
monochromatic
#18051A #18051A #3F0D42 #701775 #A121A8

Accessibility & contrast

On white

15.58
#3F0D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3F0D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0D42
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0D42#FFFFFF#000000##FFFFFF
##3F0D421.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022043
Deuteranopia (green-blind)
#182641
Tritanopia (blue-blind)
#411626
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f0d42;
/* rgb */ color: rgb(63, 13, 66);
/* oklch */ color: oklch(27.3% 0.105 325.5);
Tailwind
colors: {
  custom: {
    50: '#765176',
    500: '#3f0d42',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d42;
$custom-light: #765176;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d42",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 296.604,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27274,
    "c": 0.10467,
    "h": 325.5
  },
  "luminance": 0.01738
}

Semantic roles & 50–950 ramp

primary
#3F0D42
secondary
#327E2D
accent
#EA3E48
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0D42

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

Preview Lab → · Contrast checker → · Palette generator →

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