#3F0E4B#3F0E4B

#3F0E4B is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.112 H 318.9°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#3F0E4B
RGBrgb(63, 14, 75)
HSLhsl(288, 69%, 17%)
HSVhsv(288, 81%, 29%)
CMYKcmyk(16%, 81.3%, 0%, 70.6%)
CIE-LABlab(14.84, 33.05, -26.31)
CIE-LCHlch(14.84, 42.25, 321.47°)
OKLaboklab(28.04% 0.0845 -0.0739)
OKLCHoklch(28.04% 0.112 318.9)
XYZxyz(3.4768, 1.8790, 6.8348)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0E4B #1A4B0E
analogous
#210E4B #3F0E4B #4B0E38
triadic
#3F0E4B #4B3F0E #0E4B3F
tetradic
#3F0E4B #4B210E #1A4B0E #0E384B
square
#3F0E4B #4B210E #1A4B0E #0E384B
split-complementary
#3F0E4B #384B0E #0E4B21
monochromatic
#16051A #16051A #3F0E4B #6A187F #9621B2

Accessibility & contrast

On white

15.26
#3F0E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3F0E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0E4B
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0E4B#FFFFFF#000000##FFFFFF
##3F0E4B1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#12274A
Tritanopia (blue-blind)
#3F1A2B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f0e4b;
/* rgb */ color: rgb(63, 14, 75);
/* oklch */ color: oklch(28.0% 0.112 318.9);
Tailwind
colors: {
  custom: {
    50: '#77527e',
    500: '#3f0e4b',
    950: '#000000',
  },
}
SCSS
$custom: #3f0e4b;
$custom-light: #77527e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0e4b",
  "rgb": {
    "r": 63,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 288.197,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28044,
    "c": 0.11227,
    "h": 318.9
  },
  "luminance": 0.01879
}

Semantic roles & 50–950 ramp

primary
#3F0E4B
secondary
#40862F
accent
#EB3C5F
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3F0E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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