#3F0C4B#3F0C4B

#3F0C4B is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.115 H 319.1°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#3F0C4B
RGBrgb(63, 12, 75)
HSLhsl(289, 72%, 17%)
HSVhsv(289, 84%, 29%)
CMYKcmyk(16%, 84%, 0%, 70.6%)
CIE-LABlab(14.56, 33.86, -26.77)
CIE-LCHlch(14.56, 43.16, 321.67°)
OKLaboklab(27.84% 0.0867 -0.0752)
OKLCHoklch(27.84% 0.115 319.1)
XYZxyz(3.4512, 1.8279, 6.8263)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C4B #184B0C
analogous
#1F0C4B #3F0C4B #4B0C38
triadic
#3F0C4B #4B3F0C #0C4B3F
tetradic
#3F0C4B #4B1F0C #184B0C #0C384B
square
#3F0C4B #4B1F0C #184B0C #0C384B
split-complementary
#3F0C4B #384B0C #0C4B1F
monochromatic
#16041A #16041A #3F0C4B #6B1480 #981DB5

Accessibility & contrast

On white

15.38
#3F0C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3F0C4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0C4B
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C4B#FFFFFF#000000##FFFFFF
##3F0C4B1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#10264A
Tritanopia (blue-blind)
#3F192B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f0c4b;
/* rgb */ color: rgb(63, 12, 75);
/* oklch */ color: oklch(27.8% 0.115 319.1);
Tailwind
colors: {
  custom: {
    50: '#77527e',
    500: '#3f0c4b',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c4b;
$custom-light: #77527e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c4b",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 75
  },
  "hsl": {
    "h": 288.571,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27844,
    "c": 0.11472,
    "h": 319.1
  },
  "luminance": 0.01828
}

Semantic roles & 50–950 ramp

primary
#3F0C4B
secondary
#3D872C
accent
#EF395B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3F0C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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