#3F114D#3F114D

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

Color values

HEX#3F114D
RGBrgb(63, 17, 77)
HSLhsl(286, 64%, 18%)
HSVhsv(286, 78%, 30%)
CMYKcmyk(18.2%, 77.9%, 0%, 69.8%)
CIE-LABlab(15.45, 32.18, -26.70)
CIE-LCHlch(15.45, 41.82, 320.31°)
OKLaboklab(28.53% 0.0809 -0.075)
OKLCHoklch(28.53% 0.11 317.1)
XYZxyz(3.5897, 1.9936, 7.2155)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F114D #1F4D11
analogous
#21114D #3F114D #4D113D
triadic
#3F114D #4D3F11 #114D3F
tetradic
#3F114D #4D2111 #1F4D11 #113D4D
square
#3F114D #4D2111 #1F4D11 #113D4D
split-complementary
#3F114D #3D4D11 #114D21
monochromatic
#150619 #16061B #3F114D #681C7F #9127B1

Accessibility & contrast

On white

15.02
#3F114D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F114D
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F114D#FFFFFF#000000##FFFFFF
##3F114D1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#12284C
Tritanopia (blue-blind)
#3E1D2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f114d;
/* rgb */ color: rgb(63, 17, 77);
/* oklch */ color: oklch(28.5% 0.110 317.1);
Tailwind
colors: {
  custom: {
    50: '#77547f',
    500: '#3f114d',
    950: '#000000',
  },
}
SCSS
$custom: #3f114d;
$custom-light: #77547f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f114d",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 286,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2853,
    "c": 0.11033,
    "h": 317.1
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#3F114D
secondary
#478633
accent
#E74168
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F114D

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

Preview Lab → · Contrast checker → · Palette generator →

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