#3F0E51#3F0E51

#3F0E51 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.118 H 315.0°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#3F0E51
RGBrgb(63, 14, 81)
HSLhsl(284, 71%, 19%)
HSVhsv(284, 83%, 32%)
CMYKcmyk(22.2%, 82.7%, 0%, 68.2%)
CIE-LABlab(15.30, 34.41, -29.68)
CIE-LCHlch(15.30, 45.44, 319.21°)
OKLaboklab(28.52% 0.0837 -0.0838)
OKLCHoklch(28.52% 0.118 315)
XYZxyz(3.6919, 1.9651, 7.9678)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0E51 #20510E
analogous
#1D0E51 #3F0E51 #510E41
triadic
#3F0E51 #513F0E #0E513F
tetradic
#3F0E51 #511D0E #20510E #0E4151
square
#3F0E51 #511D0E #20510E #0E4151
split-complementary
#3F0E51 #41510E #0E511D
monochromatic
#14051A #16051D #3F0E51 #681785 #9020B9

Accessibility & contrast

On white

15.08
#3F0E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0E51
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0E51#FFFFFF#000000##FFFFFF
##3F0E511.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002453
Deuteranopia (green-blind)
#0B2850
Tritanopia (blue-blind)
#3D1D2F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f0e51;
/* rgb */ color: rgb(63, 14, 81);
/* oklch */ color: oklch(28.5% 0.118 315.0);
Tailwind
colors: {
  custom: {
    50: '#775382',
    500: '#3f0e51',
    950: '#000000',
  },
}
SCSS
$custom: #3f0e51;
$custom-light: #775382;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0e51",
  "rgb": {
    "r": 63,
    "g": 14,
    "b": 81
  },
  "hsl": {
    "h": 283.881,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2852,
    "c": 0.11839,
    "h": 315
  },
  "luminance": 0.01965
}

Semantic roles & 50–950 ramp

primary
#3F0E51
secondary
#488C2F
accent
#ED3A6B
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F0E51

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

Preview Lab → · Contrast checker → · Palette generator →

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