#3F0D4E#3F0D4E

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

Color values

HEX#3F0D4E
RGBrgb(63, 13, 78)
HSLhsl(286, 71%, 18%)
HSVhsv(286, 83%, 31%)
CMYKcmyk(19.2%, 83.3%, 0%, 69.4%)
CIE-LABlab(14.93, 34.13, -28.24)
CIE-LCHlch(14.93, 44.30, 320.40°)
OKLaboklab(28.18% 0.0852 -0.0795)
OKLCHoklch(28.18% 0.117 317)
XYZxyz(3.5688, 1.8948, 7.3840)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D4E #1C4E0D
analogous
#1E0D4E #3F0D4E #4E0D3C
triadic
#3F0D4E #4E3F0D #0D4E3F
tetradic
#3F0D4E #4E1E0D #1C4E0D #0D3C4E
square
#3F0D4E #4E1E0D #1C4E0D #0D3C4E
split-complementary
#3F0D4E #3C4E0D #0D4E1E
monochromatic
#15041A #15041A #3F0D4E #691682 #941EB7

Accessibility & contrast

On white

15.23
#3F0D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0D4E
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0D4E#FFFFFF#000000##FFFFFF
##3F0D4E1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#0E274D
Tritanopia (blue-blind)
#3E1B2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f0d4e;
/* rgb */ color: rgb(63, 13, 78);
/* oklch */ color: oklch(28.2% 0.117 317.0);
Tailwind
colors: {
  custom: {
    50: '#775280',
    500: '#3f0d4e',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d4e;
$custom-light: #775280;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d4e",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 286.154,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28179,
    "c": 0.11653,
    "h": 317
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#3F0D4E
secondary
#43892E
accent
#EE3A63
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3F0D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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