#3F0F48#3F0F48

#3F0F48 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.108 H 320.8°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#3F0F48
RGBrgb(63, 15, 72)
HSLhsl(291, 66%, 17%)
HSVhsv(291, 79%, 28%)
CMYKcmyk(12.5%, 79.2%, 0%, 71.8%)
CIE-LABlab(14.77, 31.96, -24.35)
CIE-LCHlch(14.77, 40.18, 322.70°)
OKLaboklab(27.93% 0.0837 -0.0681)
OKLCHoklch(27.93% 0.108 320.8)
XYZxyz(3.3903, 1.8665, 6.3113)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F48 #18480F
analogous
#230F48 #3F0F48 #480F35
triadic
#3F0F48 #483F0F #0F483F
tetradic
#3F0F48 #48230F #18480F #0F3548
square
#3F0F48 #48230F #18480F #0F3548
split-complementary
#3F0F48 #35480F #0F4823
monochromatic
#160519 #160519 #3F0F48 #6B1A7B #9824AD

Accessibility & contrast

On white

15.29
#3F0F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3F0F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F48
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F48#FFFFFF#000000##FFFFFF
##3F0F481.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#152747
Tritanopia (blue-blind)
#3F1A2A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f0f48;
/* rgb */ color: rgb(63, 15, 72);
/* oklch */ color: oklch(27.9% 0.108 320.8);
Tailwind
colors: {
  custom: {
    50: '#76537b',
    500: '#3f0f48',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f48;
$custom-light: #76537b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f48",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 290.526,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27925,
    "c": 0.1079,
    "h": 320.8
  },
  "luminance": 0.01866
}

Semantic roles & 50–950 ramp

primary
#3F0F48
secondary
#3D8230
accent
#E83F5A
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #3F0F48

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

Preview Lab → · Contrast checker → · Palette generator →

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