#3F114C#3F114C

#3F114C is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.109 H 317.8°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#3F114C
RGBrgb(63, 17, 76)
HSLhsl(287, 63%, 18%)
HSVhsv(287, 78%, 30%)
CMYKcmyk(17.1%, 77.6%, 0%, 70.2%)
CIE-LABlab(15.38, 31.95, -26.13)
CIE-LCHlch(15.38, 41.28, 320.72°)
OKLaboklab(28.45% 0.081 -0.0734)
OKLCHoklch(28.45% 0.109 317.8)
XYZxyz(3.5547, 1.9796, 7.0309)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F114C #1E4C11
analogous
#21114C #3F114C #4C113B
triadic
#3F114C #4C3F11 #114C3F
tetradic
#3F114C #4C2111 #1E4C11 #113B4C
square
#3F114C #4C2111 #1E4C11 #113B4C
split-complementary
#3F114C #3B4C11 #114C21
monochromatic
#150619 #16061A #3F114C #681C7E #9227B0

Accessibility & contrast

On white

15.05
#3F114C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3F114C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F114C
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F114C#FFFFFF#000000##FFFFFF
##3F114C1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#13284B
Tritanopia (blue-blind)
#3F1D2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f114c;
/* rgb */ color: rgb(63, 17, 76);
/* oklch */ color: oklch(28.5% 0.109 317.8);
Tailwind
colors: {
  custom: {
    50: '#76547e',
    500: '#3f114c',
    950: '#000000',
  },
}
SCSS
$custom: #3f114c;
$custom-light: #76547e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f114c",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 286.78,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28453,
    "c": 0.10927,
    "h": 317.8
  },
  "luminance": 0.01979
}

Semantic roles & 50–950 ramp

primary
#3F114C
secondary
#458533
accent
#E64166
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F114C

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

Preview Lab → · Contrast checker → · Palette generator →

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