#3F0E48#3F0E48

#3F0E48 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.109 H 320.9°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#3F0E48
RGBrgb(63, 14, 72)
HSLhsl(291, 67%, 17%)
HSVhsv(291, 81%, 28%)
CMYKcmyk(12.5%, 80.6%, 0%, 71.8%)
CIE-LABlab(14.62, 32.39, -24.59)
CIE-LCHlch(14.62, 40.67, 322.79°)
OKLaboklab(27.82% 0.0848 -0.0688)
OKLCHoklch(27.82% 0.109 320.9)
XYZxyz(3.3765, 1.8389, 6.3067)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0E48 #17480E
analogous
#220E48 #3F0E48 #480E34
triadic
#3F0E48 #483F0E #0E483F
tetradic
#3F0E48 #48220E #17480E #0E3448
square
#3F0E48 #48220E #17480E #0E3448
split-complementary
#3F0E48 #34480E #0E4822
monochromatic
#16051A #16051A #3F0E48 #6C187B #9922AE

Accessibility & contrast

On white

15.35
#3F0E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0E48
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0E48#FFFFFF#000000##FFFFFF
##3F0E481.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f0e48;
/* rgb */ color: rgb(63, 14, 72);
/* oklch */ color: oklch(27.8% 0.109 320.9);
Tailwind
colors: {
  custom: {
    50: '#76527b',
    500: '#3f0e48',
    950: '#000000',
  },
}
SCSS
$custom: #3f0e48;
$custom-light: #76527b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0e48",
  "rgb": {
    "r": 63,
    "g": 14,
    "b": 72
  },
  "hsl": {
    "h": 290.69,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27816,
    "c": 0.10924,
    "h": 320.9
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#3F0E48
secondary
#3C832F
accent
#EA3D58
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0E48

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

Preview Lab → · Contrast checker → · Palette generator →

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