#3F0B47#3F0B47

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

Color values

HEX#3F0B47
RGBrgb(63, 11, 71)
HSLhsl(292, 73%, 16%)
HSVhsv(292, 85%, 28%)
CMYKcmyk(11.3%, 84.5%, 0%, 72.2%)
CIE-LABlab(14.12, 33.39, -24.69)
CIE-LCHlch(14.12, 41.52, 323.51°)
OKLaboklab(27.44% 0.0882 -0.0691)
OKLCHoklch(27.44% 0.112 321.9)
XYZxyz(3.3068, 1.7512, 6.1239)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0B47 #13470B
analogous
#210B47 #3F0B47 #470B31
triadic
#3F0B47 #473F0B #0B473F
tetradic
#3F0B47 #47210B #13470B #0B3147
square
#3F0B47 #47210B #13470B #0B3147
split-complementary
#3F0B47 #31470B #0B4721
monochromatic
#18041A #18041A #3F0B47 #6E137C #9D1BB1

Accessibility & contrast

On white

15.55
#3F0B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0B47
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0B47#FFFFFF#000000##FFFFFF
##3F0B471.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f0b47;
/* rgb */ color: rgb(63, 11, 71);
/* oklch */ color: oklch(27.4% 0.112 321.9);
Tailwind
colors: {
  custom: {
    50: '#77517a',
    500: '#3f0b47',
    950: '#000000',
  },
}
SCSS
$custom: #3f0b47;
$custom-light: #77517a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0b47",
  "rgb": {
    "r": 63,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 292,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27441,
    "c": 0.11201,
    "h": 321.9
  },
  "luminance": 0.01751
}

Semantic roles & 50–950 ramp

primary
#3F0B47
secondary
#36832A
accent
#F03850
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0B47

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

Preview Lab → · Contrast checker → · Palette generator →

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