#3F0846#3F0846

#3F0846 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.115 H 322.8°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#3F0846
RGBrgb(63, 8, 70)
HSLhsl(293, 79%, 15%)
HSVhsv(293, 89%, 27%)
CMYKcmyk(10%, 88.6%, 0%, 72.5%)
CIE-LABlab(13.67, 34.28, -24.73)
CIE-LCHlch(13.67, 42.27, 324.20°)
OKLaboklab(27.09% 0.0913 -0.0692)
OKLCHoklch(27.09% 0.115 322.8)
XYZxyz(3.2421, 1.6728, 5.9453)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0846 #0F4608
analogous
#200846 #3F0846 #46082E
triadic
#3F0846 #463F08 #08463F
tetradic
#3F0846 #462008 #0F4608 #082E46
square
#3F0846 #462008 #0F4608 #082E46
split-complementary
#3F0846 #2E4608 #084620
monochromatic
#19031B #19031B #3F0846 #700E7D #A215B4

Accessibility & contrast

On white

15.74
#3F0846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3F0846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0846
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0846#FFFFFF#000000##FFFFFF
##3F08461.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#132545
Tritanopia (blue-blind)
#401527
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0846;
/* rgb */ color: rgb(63, 8, 70);
/* oklch */ color: oklch(27.1% 0.115 322.8);
Tailwind
colors: {
  custom: {
    50: '#77507a',
    500: '#3f0846',
    950: '#000000',
  },
}
SCSS
$custom: #3f0846;
$custom-light: #77507a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0846",
  "rgb": {
    "r": 63,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 293.226,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27094,
    "c": 0.1145,
    "h": 322.8
  },
  "luminance": 0.01673
}

Semantic roles & 50–950 ramp

primary
#3F0846
secondary
#308426
accent
#F63248
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0846

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

Preview Lab → · Contrast checker → · Palette generator →

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