#3F0E4D#3F0E4D

#3F0E4D is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.114 H 317.5°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#3F0E4D
RGBrgb(63, 14, 77)
HSLhsl(287, 69%, 18%)
HSVhsv(287, 82%, 30%)
CMYKcmyk(18.2%, 81.8%, 0%, 69.8%)
CIE-LABlab(14.99, 33.50, -27.45)
CIE-LCHlch(14.99, 43.31, 320.67°)
OKLaboklab(28.2% 0.0843 -0.0772)
OKLCHoklch(28.2% 0.114 317.5)
XYZxyz(3.5463, 1.9068, 7.2010)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0E4D #1C4D0E
analogous
#200E4D #3F0E4D #4D0E3B
triadic
#3F0E4D #4D3F0E #0E4D3F
tetradic
#3F0E4D #4D200E #1C4D0E #0E3B4D
square
#3F0E4D #4D200E #1C4D0E #0E3B4D
split-complementary
#3F0E4D #3B4D0E #0E4D20
monochromatic
#15051A #15051A #3F0E4D #691781 #9421B5

Accessibility & contrast

On white

15.20
#3F0E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0E4D
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0E4D#FFFFFF#000000##FFFFFF
##3F0E4D1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#10274C
Tritanopia (blue-blind)
#3E1B2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f0e4d;
/* rgb */ color: rgb(63, 14, 77);
/* oklch */ color: oklch(28.2% 0.114 317.5);
Tailwind
colors: {
  custom: {
    50: '#77537f',
    500: '#3f0e4d',
    950: '#000000',
  },
}
SCSS
$custom: #3f0e4d;
$custom-light: #77537f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0e4d",
  "rgb": {
    "r": 63,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 286.667,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.282,
    "c": 0.1143,
    "h": 317.5
  },
  "luminance": 0.01907
}

Semantic roles & 50–950 ramp

primary
#3F0E4D
secondary
#43882F
accent
#EC3C63
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3F0E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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