#3F0E4C#3F0E4C

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

Color values

HEX#3F0E4C
RGBrgb(63, 14, 76)
HSLhsl(287, 69%, 18%)
HSVhsv(287, 82%, 30%)
CMYKcmyk(17.1%, 81.6%, 0%, 70.2%)
CIE-LABlab(14.91, 33.27, -26.88)
CIE-LCHlch(14.91, 42.78, 321.06°)
OKLaboklab(28.12% 0.0844 -0.0755)
OKLCHoklch(28.12% 0.113 318.2)
XYZxyz(3.5113, 1.8928, 7.0165)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0E4C #1B4C0E
analogous
#200E4C #3F0E4C #4C0E3A
triadic
#3F0E4C #4C3F0E #0E4C3F
tetradic
#3F0E4C #4C200E #1B4C0E #0E3A4C
square
#3F0E4C #4C200E #1B4C0E #0E3A4C
split-complementary
#3F0E4C #3A4C0E #0E4C20
monochromatic
#15051A #15051A #3F0E4C #6A1880 #9521B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F0E4C#FFFFFF#000000##FFFFFF
##3F0E4C1.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)
#00224E
Deuteranopia (green-blind)
#11274B
Tritanopia (blue-blind)
#3F1B2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f0e4c;
/* rgb */ color: rgb(63, 14, 76);
/* oklch */ color: oklch(28.1% 0.113 318.2);
Tailwind
colors: {
  custom: {
    50: '#77527e',
    500: '#3f0e4c',
    950: '#000000',
  },
}
SCSS
$custom: #3f0e4c;
$custom-light: #77527e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0e4c",
  "rgb": {
    "r": 63,
    "g": 14,
    "b": 76
  },
  "hsl": {
    "h": 287.419,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28122,
    "c": 0.11328,
    "h": 318.2
  },
  "luminance": 0.01893
}

Semantic roles & 50–950 ramp

primary
#3F0E4C
secondary
#41872F
accent
#EC3C61
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3F0E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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