#3F0D56#3F0D56

#3F0D56 is a dark, vivid purple. Relative luminance 0.020; OKLCH L 28.8% C 0.125 H 312.1°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#3F0D56
RGBrgb(63, 13, 86)
HSLhsl(281, 74%, 19%)
HSVhsv(281, 85%, 34%)
CMYKcmyk(26.7%, 84.9%, 0%, 66.3%)
CIE-LABlab(15.57, 35.96, -32.64)
CIE-LCHlch(15.57, 48.57, 317.77°)
OKLaboklab(28.84% 0.0836 -0.0924)
OKLCHoklch(28.84% 0.125 312.1)
XYZxyz(3.8732, 2.0166, 8.9875)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D56 #24560D
analogous
#1B0D56 #3F0D56 #560D49
triadic
#3F0D56 #563F0D #0D563F
tetradic
#3F0D56 #561B0D #24560D #0D4956
square
#3F0D56 #561B0D #24560D #0D4956
split-complementary
#3F0D56 #49560D #0D561B
monochromatic
#13041B #180521 #3F0D56 #66158B #8D1DC0

Accessibility & contrast

On white

14.97
#3F0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3F0D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0D56
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0D56#FFFFFF#000000##FFFFFF
##3F0D561.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#022855
Tritanopia (blue-blind)
#3C1F31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f0d56;
/* rgb */ color: rgb(63, 13, 86);
/* oklch */ color: oklch(28.8% 0.125 312.1);
Tailwind
colors: {
  custom: {
    50: '#775386',
    500: '#3f0d56',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d56;
$custom-light: #775386;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d56",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 281.096,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28841,
    "c": 0.12466,
    "h": 312.1
  },
  "luminance": 0.02016
}

Semantic roles & 50–950 ramp

primary
#3F0D56
secondary
#4D912E
accent
#F03772
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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