#3F0C42#3F0C42

#3F0C42 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.106 H 325.6°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#3F0C42
RGBrgb(63, 12, 66)
HSLhsl(297, 69%, 15%)
HSVhsv(297, 82%, 26%)
CMYKcmyk(4.5%, 81.8%, 0%, 74.1%)
CIE-LABlab(13.90, 31.96, -21.54)
CIE-LCHlch(13.90, 38.54, 326.01°)
OKLaboklab(27.17% 0.0874 -0.0599)
OKLCHoklch(27.17% 0.106 325.6)
XYZxyz(3.1647, 1.7133, 5.3172)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C42 #0F420C
analogous
#240C42 #3F0C42 #420C2A
triadic
#3F0C42 #423F0C #0C423F
tetradic
#3F0C42 #42240C #0F420C #0C2A42
square
#3F0C42 #42240C #0F420C #0C2A42
split-complementary
#3F0C42 #2A420C #0C4224
monochromatic
#19051A #19051A #3F0C42 #701576 #A21FAA

Accessibility & contrast

On white

15.64
#3F0C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3F0C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0C42
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C42#FFFFFF#000000##FFFFFF
##3F0C421.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011F43
Deuteranopia (green-blind)
#182641
Tritanopia (blue-blind)
#411526
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0c42;
/* rgb */ color: rgb(63, 12, 66);
/* oklch */ color: oklch(27.2% 0.106 325.6);
Tailwind
colors: {
  custom: {
    50: '#765176',
    500: '#3f0c42',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c42;
$custom-light: #765176;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c42",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 66
  },
  "hsl": {
    "h": 296.667,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27171,
    "c": 0.10598,
    "h": 325.6
  },
  "luminance": 0.01713
}

Semantic roles & 50–950 ramp

primary
#3F0C42
secondary
#307E2C
accent
#EC3C46
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0C42

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

Preview Lab → · Contrast checker → · Palette generator →

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