#3F0D52#3F0D52

#3F0D52 is a dark, vivid purple. Relative luminance 0.020; OKLCH L 28.5% C 0.121 H 314.5°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#3F0D52
RGBrgb(63, 13, 82)
HSLhsl(283, 73%, 19%)
HSVhsv(283, 84%, 32%)
CMYKcmyk(23.2%, 84.1%, 0%, 67.8%)
CIE-LABlab(15.24, 35.04, -30.46)
CIE-LCHlch(15.24, 46.43, 319.00°)
OKLaboklab(28.5% 0.0845 -0.086)
OKLCHoklch(28.5% 0.121 314.5)
XYZxyz(3.7166, 1.9539, 8.1624)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D52 #20520D
analogous
#1C0D52 #3F0D52 #520D42
triadic
#3F0D52 #523F0D #0D523F
tetradic
#3F0D52 #521C0D #20520D #0D4252
square
#3F0D52 #521C0D #20520D #0D4252
split-complementary
#3F0D52 #42520D #0D521C
monochromatic
#14041A #16051D #3F0D52 #681587 #901EBC

Accessibility & contrast

On white

15.10
#3F0D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0D52
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0D52#FFFFFF#000000##FFFFFF
##3F0D521.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#082751
Tritanopia (blue-blind)
#3D1D2F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f0d52;
/* rgb */ color: rgb(63, 13, 82);
/* oklch */ color: oklch(28.5% 0.121 314.5);
Tailwind
colors: {
  custom: {
    50: '#775283',
    500: '#3f0d52',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d52;
$custom-light: #775283;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d52",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 283.478,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28504,
    "c": 0.12058,
    "h": 314.5
  },
  "luminance": 0.01954
}

Semantic roles & 50–950 ramp

primary
#3F0D52
secondary
#488D2E
accent
#EF386B
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3F0D52

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

Preview Lab → · Contrast checker → · Palette generator →

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