#3F0C48#3F0C48

#3F0C48 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.112 H 321.1°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#3F0C48
RGBrgb(63, 12, 72)
HSLhsl(291, 71%, 16%)
HSVhsv(291, 83%, 28%)
CMYKcmyk(12.5%, 83.3%, 0%, 71.8%)
CIE-LABlab(14.33, 33.21, -25.05)
CIE-LCHlch(14.33, 41.60, 322.97°)
OKLaboklab(27.61% 0.087 -0.0702)
OKLCHoklch(27.61% 0.112 321.1)
XYZxyz(3.3509, 1.7878, 6.2982)
Luminance0.0179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C48 #15480C
analogous
#210C48 #3F0C48 #480C33
triadic
#3F0C48 #483F0C #0C483F
tetradic
#3F0C48 #48210C #15480C #0C3348
square
#3F0C48 #48210C #15480C #0C3348
split-complementary
#3F0C48 #33480C #0C4821
monochromatic
#17041A #17041A #3F0C48 #6D157C #9B1DB1

Accessibility & contrast

On white

15.47
#3F0C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0C48
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C48#FFFFFF#000000##FFFFFF
##3F0C481.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#132647
Tritanopia (blue-blind)
#401829
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f0c48;
/* rgb */ color: rgb(63, 12, 72);
/* oklch */ color: oklch(27.6% 0.112 321.1);
Tailwind
colors: {
  custom: {
    50: '#77517b',
    500: '#3f0c48',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c48;
$custom-light: #77517b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c48",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 72
  },
  "hsl": {
    "h": 291,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27613,
    "c": 0.11178,
    "h": 321.1
  },
  "luminance": 0.01788
}

Semantic roles & 50–950 ramp

primary
#3F0C48
secondary
#39842C
accent
#EE3A55
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0C48

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

Preview Lab → · Contrast checker → · Palette generator →

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