#3F0D4D#3F0D4D

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

Color values

HEX#3F0D4D
RGBrgb(63, 13, 77)
HSLhsl(287, 71%, 18%)
HSVhsv(287, 83%, 30%)
CMYKcmyk(18.2%, 83.1%, 0%, 69.8%)
CIE-LABlab(14.85, 33.91, -27.68)
CIE-LCHlch(14.85, 43.77, 320.78°)
OKLaboklab(28.1% 0.0853 -0.0779)
OKLCHoklch(28.1% 0.116 317.6)
XYZxyz(3.5332, 1.8806, 7.1966)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D4D #1B4D0D
analogous
#1F0D4D #3F0D4D #4D0D3B
triadic
#3F0D4D #4D3F0D #0D4D3F
tetradic
#3F0D4D #4D1F0D #1B4D0D #0D3B4D
square
#3F0D4D #4D1F0D #1B4D0D #0D3B4D
split-complementary
#3F0D4D #3B4D0D #0D4D1F
monochromatic
#15041A #15041A #3F0D4D #6A1681 #951FB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F0D4D#FFFFFF#000000##FFFFFF
##3F0D4D1.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)
#00224F
Deuteranopia (green-blind)
#0F274C
Tritanopia (blue-blind)
#3E1B2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f0d4d;
/* rgb */ color: rgb(63, 13, 77);
/* oklch */ color: oklch(28.1% 0.116 317.6);
Tailwind
colors: {
  custom: {
    50: '#77527f',
    500: '#3f0d4d',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d4d;
$custom-light: #77527f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d4d",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 77
  },
  "hsl": {
    "h": 286.875,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28099,
    "c": 0.11552,
    "h": 317.6
  },
  "luminance": 0.0188
}

Semantic roles & 50–950 ramp

primary
#3F0D4D
secondary
#41882E
accent
#EE3A61
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3F0D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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