#3F0B40#3F0B40

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

Color values

HEX#3F0B40
RGBrgb(63, 11, 64)
HSLhsl(299, 71%, 15%)
HSVhsv(299, 83%, 25%)
CMYKcmyk(1.6%, 82.8%, 0%, 74.9%)
CIE-LABlab(13.63, 31.95, -20.57)
CIE-LCHlch(13.63, 38.00, 327.22°)
OKLaboklab(26.93% 0.0886 -0.0571)
OKLCHoklch(26.93% 0.105 327.2)
XYZxyz(3.0949, 1.6665, 5.0081)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0B40 #0C400B
analogous
#250B40 #3F0B40 #400B27
triadic
#3F0B40 #403F0B #0B403F
tetradic
#3F0B40 #40250B #0C400B #0B2740
square
#3F0B40 #40250B #0C400B #0B2740
split-complementary
#3F0B40 #27400B #0B4025
monochromatic
#1A041A #1A041A #3F0B40 #721474 #A61DA8

Accessibility & contrast

On white

15.75
#3F0B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3F0B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0B40
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0B40#FFFFFF#000000##FFFFFF
##3F0B401.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021F41
Deuteranopia (green-blind)
#19253F
Tritanopia (blue-blind)
#411425
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0b40;
/* rgb */ color: rgb(63, 11, 64);
/* oklch */ color: oklch(26.9% 0.105 327.2);
Tailwind
colors: {
  custom: {
    50: '#765175',
    500: '#3f0b40',
    950: '#000000',
  },
}
SCSS
$custom: #3f0b40;
$custom-light: #765175;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0b40",
  "rgb": {
    "r": 63,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 298.868,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26931,
    "c": 0.10538,
    "h": 327.2
  },
  "luminance": 0.01666
}

Semantic roles & 50–950 ramp

primary
#3F0B40
secondary
#2C7D2A
accent
#ED3A3E
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0B40

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

Preview Lab → · Contrast checker → · Palette generator →

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