#3F0C38#3F0C38

#3F0C38 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.097 H 334.1°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#3F0C38
RGBrgb(63, 12, 56)
HSLhsl(308, 68%, 15%)
HSVhsv(308, 81%, 25%)
CMYKcmyk(0%, 81%, 11.1%, 75.3%)
CIE-LABlab(13.26, 30.02, -15.46)
CIE-LCHlch(13.26, 33.76, 332.75°)
OKLaboklab(26.5% 0.0871 -0.0423)
OKLCHoklch(26.5% 0.097 334.1)
XYZxyz(2.8952, 1.6055, 3.8980)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C38 #0C3F13
analogous
#2D0C3F #3F0C38 #3F0C1F
triadic
#3F0C38 #383F0C #0C383F
tetradic
#3F0C38 #3F2D0C #0C3F13 #0C1F3F
square
#3F0C38 #3F2D0C #0C3F13 #0C1F3F
split-complementary
#3F0C38 #1F3F0C #0C3F2D
monochromatic
#1A0517 #1A0517 #3F0C38 #721666 #A62093

Accessibility & contrast

On white

15.90
#3F0C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3F0C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0C38
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C38#FFFFFF#000000##FFFFFF
##3F0C381.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1D39
Deuteranopia (green-blind)
#1D2537
Tritanopia (blue-blind)
#421020
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3f0c38;
/* rgb */ color: rgb(63, 12, 56);
/* oklch */ color: oklch(26.5% 0.097 334.1);
Tailwind
colors: {
  custom: {
    50: '#76516e',
    500: '#3f0c38',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c38;
$custom-light: #76516e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c38",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 56
  },
  "hsl": {
    "h": 308.235,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26504,
    "c": 0.09682,
    "h": 334.1
  },
  "luminance": 0.01605
}

Semantic roles & 50–950 ramp

primary
#3F0C38
secondary
#2C7B37
accent
#EB553D
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F0C38

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

Preview Lab → · Contrast checker → · Palette generator →

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