#3F114A#3F114A

#3F114A is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.3% C 0.107 H 319.2°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#3F114A
RGBrgb(63, 17, 74)
HSLhsl(288, 63%, 18%)
HSVhsv(288, 77%, 29%)
CMYKcmyk(14.9%, 77%, 0%, 71%)
CIE-LABlab(15.23, 31.50, -24.99)
CIE-LCHlch(15.23, 40.21, 321.57°)
OKLaboklab(28.3% 0.0811 -0.07)
OKLCHoklch(28.3% 0.107 319.2)
XYZxyz(3.4862, 1.9522, 6.6704)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F114A #1C4A11
analogous
#22114A #3F114A #4A1138
triadic
#3F114A #4A3F11 #114A3F
tetradic
#3F114A #4A2211 #1C4A11 #11384A
square
#3F114A #4A2211 #1C4A11 #11384A
split-complementary
#3F114A #384A11 #114A22
monochromatic
#150619 #150619 #3F114A #691C7C #9428AE

Accessibility & contrast

On white

15.10
#3F114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3F114A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F114A
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F114A#FFFFFF#000000##FFFFFF
##3F114A1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#152849
Tritanopia (blue-blind)
#3F1C2C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f114a;
/* rgb */ color: rgb(63, 17, 74);
/* oklch */ color: oklch(28.3% 0.107 319.2);
Tailwind
colors: {
  custom: {
    50: '#76547d',
    500: '#3f114a',
    950: '#000000',
  },
}
SCSS
$custom: #3f114a;
$custom-light: #76547d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f114a",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 288.421,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28303,
    "c": 0.10716,
    "h": 319.2
  },
  "luminance": 0.01952
}

Semantic roles & 50–950 ramp

primary
#3F114A
secondary
#438333
accent
#E64262
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #3F114A

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

Preview Lab → · Contrast checker → · Palette generator →

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