#3F0B42#3F0B42

#3F0B42 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.107 H 325.6°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#3F0B42
RGBrgb(63, 11, 66)
HSLhsl(297, 71%, 15%)
HSVhsv(297, 83%, 26%)
CMYKcmyk(4.5%, 83.3%, 0%, 74.1%)
CIE-LABlab(13.77, 32.35, -21.76)
CIE-LCHlch(13.77, 38.99, 326.07°)
OKLaboklab(27.07% 0.0885 -0.0605)
OKLCHoklch(27.07% 0.107 325.6)
XYZxyz(3.1529, 1.6897, 5.3133)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0B42 #0E420B
analogous
#230B42 #3F0B42 #420B2A
triadic
#3F0B42 #423F0B #0B423F
tetradic
#3F0B42 #42230B #0E420B #0B2A42
square
#3F0B42 #42230B #0E420B #0B2A42
split-complementary
#3F0B42 #2A420B #0B4223
monochromatic
#19041A #19041A #3F0B42 #711476 #A31CAB

Accessibility & contrast

On white

15.70
#3F0B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3F0B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0B42
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0B42#FFFFFF#000000##FFFFFF
##3F0B421.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F43
Deuteranopia (green-blind)
#172541
Tritanopia (blue-blind)
#411526
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0b42;
/* rgb */ color: rgb(63, 11, 66);
/* oklch */ color: oklch(27.1% 0.107 325.6);
Tailwind
colors: {
  custom: {
    50: '#765176',
    500: '#3f0b42',
    950: '#000000',
  },
}
SCSS
$custom: #3f0b42;
$custom-light: #765176;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0b42",
  "rgb": {
    "r": 63,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 296.727,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27073,
    "c": 0.10725,
    "h": 325.6
  },
  "luminance": 0.01689
}

Semantic roles & 50–950 ramp

primary
#3F0B42
secondary
#2F7F2A
accent
#EE3A43
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0B42

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

Preview Lab → · Contrast checker → · Palette generator →

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