#3F0C44#3F0C44

#3F0C44 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.3% C 0.108 H 324.0°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#3F0C44
RGBrgb(63, 12, 68)
HSLhsl(295, 70%, 16%)
HSVhsv(295, 82%, 27%)
CMYKcmyk(7.4%, 82.4%, 0%, 73.3%)
CIE-LABlab(14.04, 32.37, -22.72)
CIE-LCHlch(14.04, 39.55, 324.93°)
OKLaboklab(27.32% 0.0873 -0.0634)
OKLCHoklch(27.32% 0.108 324)
XYZxyz(3.2247, 1.7373, 5.6332)
Luminance0.0174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C44 #11440C
analogous
#230C44 #3F0C44 #440C2D
triadic
#3F0C44 #443F0C #0C443F
tetradic
#3F0C44 #44230C #11440C #0C2D44
square
#3F0C44 #44230C #11440C #0C2D44
split-complementary
#3F0C44 #2D440C #0C4423
monochromatic
#18051A #18051A #3F0C44 #6F1578 #9F1EAC

Accessibility & contrast

On white

15.59
#3F0C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0C44
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C44#FFFFFF#000000##FFFFFF
##3F0C441.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002046
Deuteranopia (green-blind)
#162643
Tritanopia (blue-blind)
#401627
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f0c44;
/* rgb */ color: rgb(63, 12, 68);
/* oklch */ color: oklch(27.3% 0.108 324.0);
Tailwind
colors: {
  custom: {
    50: '#765178',
    500: '#3f0c44',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c44;
$custom-light: #765178;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c44",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 68
  },
  "hsl": {
    "h": 294.643,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27315,
    "c": 0.1079,
    "h": 324
  },
  "luminance": 0.01737
}

Semantic roles & 50–950 ramp

primary
#3F0C44
secondary
#33802C
accent
#ED3B4B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0C44

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

Preview Lab → · Contrast checker → · Palette generator →

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