#3F0C46#3F0C46

#3F0C46 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.110 H 322.6°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#3F0C46
RGBrgb(63, 12, 70)
HSLhsl(293, 71%, 16%)
HSVhsv(293, 83%, 27%)
CMYKcmyk(10%, 82.9%, 0%, 72.5%)
CIE-LABlab(14.19, 32.79, -23.89)
CIE-LCHlch(14.19, 40.57, 323.92°)
OKLaboklab(27.46% 0.0872 -0.0668)
OKLCHoklch(27.46% 0.11 322.6)
XYZxyz(3.2868, 1.7621, 5.9602)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C46 #13460C
analogous
#220C46 #3F0C46 #460C30
triadic
#3F0C46 #463F0C #0C463F
tetradic
#3F0C46 #46220C #13460C #0C3046
square
#3F0C46 #46220C #13460C #0C3046
split-complementary
#3F0C46 #30460C #0C4622
monochromatic
#18041A #18041A #3F0C46 #6E157A #9D1EAE

Accessibility & contrast

On white

15.53
#3F0C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3F0C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0C46
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C46#FFFFFF#000000##FFFFFF
##3F0C461.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#152645
Tritanopia (blue-blind)
#401728
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f0c46;
/* rgb */ color: rgb(63, 12, 70);
/* oklch */ color: oklch(27.5% 0.110 322.6);
Tailwind
colors: {
  custom: {
    50: '#77517a',
    500: '#3f0c46',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c46;
$custom-light: #77517a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c46",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 292.759,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27462,
    "c": 0.10983,
    "h": 322.6
  },
  "luminance": 0.01762
}

Semantic roles & 50–950 ramp

primary
#3F0C46
secondary
#36822C
accent
#ED3A50
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0C46

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

Preview Lab → · Contrast checker → · Palette generator →

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