#3F0C4A#3F0C4A

#3F0C4A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.114 H 319.7°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#3F0C4A
RGBrgb(63, 12, 74)
HSLhsl(289, 72%, 17%)
HSVhsv(289, 84%, 29%)
CMYKcmyk(14.9%, 83.8%, 0%, 71%)
CIE-LABlab(14.48, 33.64, -26.20)
CIE-LCHlch(14.48, 42.64, 322.09°)
OKLaboklab(27.77% 0.0868 -0.0735)
OKLCHoklch(27.77% 0.114 319.7)
XYZxyz(3.4172, 1.8143, 6.6474)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C4A #174A0C
analogous
#200C4A #3F0C4A #4A0C36
triadic
#3F0C4A #4A3F0C #0C4A3F
tetradic
#3F0C4A #4A200C #174A0C #0C364A
square
#3F0C4A #4A200C #174A0C #0C364A
split-complementary
#3F0C4A #364A0C #0C4A20
monochromatic
#16041A #16041A #3F0C4A #6C157F #991DB3

Accessibility & contrast

On white

15.41
#3F0C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3F0C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0C4A
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C4A#FFFFFF#000000##FFFFFF
##3F0C4A1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#112649
Tritanopia (blue-blind)
#3F192A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f0c4a;
/* rgb */ color: rgb(63, 12, 74);
/* oklch */ color: oklch(27.8% 0.114 319.7);
Tailwind
colors: {
  custom: {
    50: '#77517d',
    500: '#3f0c4a',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c4a;
$custom-light: #77517d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c4a",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 74
  },
  "hsl": {
    "h": 289.355,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27766,
    "c": 0.11374,
    "h": 319.7
  },
  "luminance": 0.01814
}

Semantic roles & 50–950 ramp

primary
#3F0C4A
secondary
#3C862C
accent
#EF3959
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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