#3F0D51#3F0D51

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

Color values

HEX#3F0D51
RGBrgb(63, 13, 81)
HSLhsl(284, 72%, 18%)
HSVhsv(284, 84%, 32%)
CMYKcmyk(22.2%, 84%, 0%, 68.2%)
CIE-LABlab(15.16, 34.81, -29.91)
CIE-LCHlch(15.16, 45.90, 319.33°)
OKLaboklab(28.42% 0.0847 -0.0844)
OKLCHoklch(28.42% 0.12 315.1)
XYZxyz(3.6788, 1.9388, 7.9634)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D51 #1F510D
analogous
#1D0D51 #3F0D51 #510D41
triadic
#3F0D51 #513F0D #0D513F
tetradic
#3F0D51 #511D0D #1F510D #0D4151
square
#3F0D51 #511D0D #1F510D #0D4151
split-complementary
#3F0D51 #41510D #0D511D
monochromatic
#15041A #16051C #3F0D51 #681586 #911EBA

Accessibility & contrast

On white

15.13
#3F0D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0D51
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0D51#FFFFFF#000000##FFFFFF
##3F0D511.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f0d51;
/* rgb */ color: rgb(63, 13, 81);
/* oklch */ color: oklch(28.4% 0.120 315.1);
Tailwind
colors: {
  custom: {
    50: '#775282',
    500: '#3f0d51',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d51;
$custom-light: #775282;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d51",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 81
  },
  "hsl": {
    "h": 284.118,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28422,
    "c": 0.11956,
    "h": 315.1
  },
  "luminance": 0.01939
}

Semantic roles & 50–950 ramp

primary
#3F0D51
secondary
#478C2E
accent
#EF3969
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3F0D51

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

Preview Lab → · Contrast checker → · Palette generator →

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