#3F0C56#3F0C56

#3F0C56 is a dark, vivid purple. Relative luminance 0.020; OKLCH L 28.7% C 0.126 H 312.3°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#3F0C56
RGBrgb(63, 12, 86)
HSLhsl(281, 76%, 19%)
HSVhsv(281, 86%, 34%)
CMYKcmyk(26.7%, 86%, 0%, 66.3%)
CIE-LABlab(15.44, 36.34, -32.85)
CIE-LCHlch(15.44, 48.99, 317.89°)
OKLaboklab(28.75% 0.0846 -0.093)
OKLCHoklch(28.75% 0.126 312.3)
XYZxyz(3.8608, 1.9917, 8.9834)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C56 #23560C
analogous
#1A0C56 #3F0C56 #560C48
triadic
#3F0C56 #563F0C #0C563F
tetradic
#3F0C56 #561A0C #23560C #0C4856
square
#3F0C56 #561A0C #23560C #0C4856
split-complementary
#3F0C56 #48560C #0C561A
monochromatic
#14041B #180520 #3F0C56 #66138C #8E1BC1

Accessibility & contrast

On white

15.02
#3F0C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0C56
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C56#FFFFFF#000000##FFFFFF
##3F0C561.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#012854
Tritanopia (blue-blind)
#3C1E31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f0c56;
/* rgb */ color: rgb(63, 12, 86);
/* oklch */ color: oklch(28.7% 0.126 312.3);
Tailwind
colors: {
  custom: {
    50: '#775286',
    500: '#3f0c56',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c56;
$custom-light: #775286;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c56",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 86
  },
  "hsl": {
    "h": 281.351,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28749,
    "c": 0.12573,
    "h": 312.3
  },
  "luminance": 0.01992
}

Semantic roles & 50–950 ramp

primary
#3F0C56
secondary
#4C912D
accent
#F23670
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3F0C56

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

Preview Lab → · Contrast checker → · Palette generator →

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