#3F0D4A#3F0D4A

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

Color values

HEX#3F0D4A
RGBrgb(63, 13, 74)
HSLhsl(289, 70%, 17%)
HSVhsv(289, 82%, 29%)
CMYKcmyk(14.9%, 82.4%, 0%, 71%)
CIE-LABlab(14.62, 33.24, -25.98)
CIE-LCHlch(14.62, 42.19, 322.00°)
OKLaboklab(27.87% 0.0857 -0.0729)
OKLCHoklch(27.87% 0.113 319.6)
XYZxyz(3.4297, 1.8392, 6.6516)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D4A #184A0D
analogous
#200D4A #3F0D4A #4A0D37
triadic
#3F0D4A #4A3F0D #0D4A3F
tetradic
#3F0D4A #4A200D #184A0D #0D374A
square
#3F0D4A #4A200D #184A0D #0D374A
split-complementary
#3F0D4A #374A0D #0D4A20
monochromatic
#16051A #16051A #3F0D4A #6B167E #981FB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F0D4A#FFFFFF#000000##FFFFFF
##3F0D4A1.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)
#00224C
Deuteranopia (green-blind)
#122749
Tritanopia (blue-blind)
#3F192B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f0d4a;
/* rgb */ color: rgb(63, 13, 74);
/* oklch */ color: oklch(27.9% 0.113 319.6);
Tailwind
colors: {
  custom: {
    50: '#77527d',
    500: '#3f0d4a',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d4a;
$custom-light: #77527d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d4a",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 289.18,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27865,
    "c": 0.11252,
    "h": 319.6
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#3F0D4A
secondary
#3D852E
accent
#ED3B5B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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