#3F0E4F#3F0E4F

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

Color values

HEX#3F0E4F
RGBrgb(63, 14, 79)
HSLhsl(285, 70%, 18%)
HSVhsv(285, 82%, 31%)
CMYKcmyk(20.3%, 82.3%, 0%, 69%)
CIE-LABlab(15.15, 33.95, -28.57)
CIE-LCHlch(15.15, 44.37, 319.92°)
OKLaboklab(28.36% 0.084 -0.0805)
OKLCHoklch(28.36% 0.116 316.2)
XYZxyz(3.6180, 1.9355, 7.5786)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0E4F #1E4F0E
analogous
#1E0E4F #3F0E4F #4F0E3E
triadic
#3F0E4F #4F3F0E #0E4F3F
tetradic
#3F0E4F #4F1E0E #1E4F0E #0E3E4F
square
#3F0E4F #4F1E0E #1E4F0E #0E3E4F
split-complementary
#3F0E4F #3E4F0E #0E4F1E
monochromatic
#15051A #16051B #3F0E4F #681783 #9220B7

Accessibility & contrast

On white

15.14
#3F0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3F0E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0E4F
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0E4F#FFFFFF#000000##FFFFFF
##3F0E4F1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#0E274E
Tritanopia (blue-blind)
#3E1C2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f0e4f;
/* rgb */ color: rgb(63, 14, 79);
/* oklch */ color: oklch(28.4% 0.116 316.2);
Tailwind
colors: {
  custom: {
    50: '#775381',
    500: '#3f0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #3f0e4f;
$custom-light: #775381;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0e4f",
  "rgb": {
    "r": 63,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 285.231,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28359,
    "c": 0.11634,
    "h": 316.2
  },
  "luminance": 0.01935
}

Semantic roles & 50–950 ramp

primary
#3F0E4F
secondary
#458A2F
accent
#ED3B67
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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