#3F0C47#3F0C47

#3F0C47 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.111 H 321.8°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#3F0C47
RGBrgb(63, 12, 71)
HSLhsl(292, 71%, 16%)
HSVhsv(292, 83%, 28%)
CMYKcmyk(11.3%, 83.1%, 0%, 72.2%)
CIE-LABlab(14.26, 33.00, -24.47)
CIE-LCHlch(14.26, 41.08, 323.44°)
OKLaboklab(27.54% 0.0871 -0.0685)
OKLCHoklch(27.54% 0.111 321.8)
XYZxyz(3.3186, 1.7748, 6.1278)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C47 #14470C
analogous
#220C47 #3F0C47 #470C32
triadic
#3F0C47 #473F0C #0C473F
tetradic
#3F0C47 #47220C #14470C #0C3247
square
#3F0C47 #47220C #14470C #0C3247
split-complementary
#3F0C47 #32470C #0C4722
monochromatic
#17041A #17041A #3F0C47 #6D157B #9C1EB0

Accessibility & contrast

On white

15.50
#3F0C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0C47
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C47#FFFFFF#000000##FFFFFF
##3F0C471.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#142646
Tritanopia (blue-blind)
#401729
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f0c47;
/* rgb */ color: rgb(63, 12, 71);
/* oklch */ color: oklch(27.5% 0.111 321.8);
Tailwind
colors: {
  custom: {
    50: '#77517a',
    500: '#3f0c47',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c47;
$custom-light: #77517a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c47",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 291.864,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27537,
    "c": 0.1108,
    "h": 321.8
  },
  "luminance": 0.01775
}

Semantic roles & 50–950 ramp

primary
#3F0C47
secondary
#38832C
accent
#EE3A52
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0C47

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

Preview Lab → · Contrast checker → · Palette generator →

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