#3F0D48#3F0D48

#3F0D48 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.111 H 321.0°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#3F0D48
RGBrgb(63, 13, 72)
HSLhsl(291, 69%, 17%)
HSVhsv(291, 82%, 28%)
CMYKcmyk(12.5%, 81.9%, 0%, 71.8%)
CIE-LABlab(14.47, 32.81, -24.83)
CIE-LCHlch(14.47, 41.14, 322.88°)
OKLaboklab(27.71% 0.0859 -0.0695)
OKLCHoklch(27.71% 0.111 321)
XYZxyz(3.3634, 1.8127, 6.3024)
Luminance0.0181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D48 #16480D
analogous
#220D48 #3F0D48 #480D34
triadic
#3F0D48 #483F0D #0D483F
tetradic
#3F0D48 #48220D #16480D #0D3448
square
#3F0D48 #48220D #16480D #0D3448
split-complementary
#3F0D48 #34480D #0D4822
monochromatic
#17051A #17051A #3F0D48 #6C167C #9A20B0

Accessibility & contrast

On white

15.41
#3F0D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3F0D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0D48
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0D48#FFFFFF#000000##FFFFFF
##3F0D481.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#142647
Tritanopia (blue-blind)
#40182A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f0d48;
/* rgb */ color: rgb(63, 13, 72);
/* oklch */ color: oklch(27.7% 0.111 321.0);
Tailwind
colors: {
  custom: {
    50: '#77527b',
    500: '#3f0d48',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d48;
$custom-light: #77527b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d48",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 290.847,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27712,
    "c": 0.11053,
    "h": 321
  },
  "luminance": 0.01812
}

Semantic roles & 50–950 ramp

primary
#3F0D48
secondary
#3B832D
accent
#EC3C57
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0D48

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

Preview Lab → · Contrast checker → · Palette generator →

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