#3F0D54#3F0D54

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

Color values

HEX#3F0D54
RGBrgb(63, 13, 84)
HSLhsl(282, 73%, 19%)
HSVhsv(282, 85%, 33%)
CMYKcmyk(25%, 84.5%, 0%, 67.1%)
CIE-LABlab(15.41, 35.50, -31.56)
CIE-LCHlch(15.41, 47.50, 318.36°)
OKLaboklab(28.67% 0.0841 -0.0892)
OKLCHoklch(28.67% 0.123 313.3)
XYZxyz(3.7938, 1.9848, 8.5691)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D54 #22540D
analogous
#1C0D54 #3F0D54 #540D46
triadic
#3F0D54 #543F0D #0D543F
tetradic
#3F0D54 #541C0D #22540D #0D4654
square
#3F0D54 #541C0D #22540D #0D4654
split-complementary
#3F0D54 #46540D #0D541C
monochromatic
#14041A #17051F #3F0D54 #671589 #8E1DBE

Accessibility & contrast

On white

15.03
#3F0D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0D54
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0D54#FFFFFF#000000##FFFFFF
##3F0D541.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#052853
Tritanopia (blue-blind)
#3D1E30
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f0d54;
/* rgb */ color: rgb(63, 13, 84);
/* oklch */ color: oklch(28.7% 0.123 313.3);
Tailwind
colors: {
  custom: {
    50: '#775285',
    500: '#3f0d54',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d54;
$custom-light: #775285;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d54",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 282.254,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28671,
    "c": 0.12262,
    "h": 313.3
  },
  "luminance": 0.01985
}

Semantic roles & 50–950 ramp

primary
#3F0D54
secondary
#4B8F2E
accent
#F0386E
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F0D54

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

Preview Lab → · Contrast checker → · Palette generator →

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