#3F114F#3F114F

#3F114F is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.7% C 0.112 H 315.8°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#3F114F
RGBrgb(63, 17, 79)
HSLhsl(285, 65%, 19%)
HSVhsv(285, 78%, 31%)
CMYKcmyk(20.3%, 78.5%, 0%, 69%)
CIE-LABlab(15.60, 32.64, -27.83)
CIE-LCHlch(15.60, 42.90, 319.55°)
OKLaboklab(28.69% 0.0807 -0.0783)
OKLCHoklch(28.69% 0.112 315.8)
XYZxyz(3.6614, 2.0223, 7.5931)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F114F #214F11
analogous
#20114F #3F114F #4F1140
triadic
#3F114F #4F3F11 #114F3F
tetradic
#3F114F #4F2011 #214F11 #11404F
square
#3F114F #4F2011 #214F11 #11404F
split-complementary
#3F114F #404F11 #114F20
monochromatic
#140519 #17061D #3F114F #671C81 #8F27B4

Accessibility & contrast

On white

14.95
#3F114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F114F
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F114F#FFFFFF#000000##FFFFFF
##3F114F1.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#10284E
Tritanopia (blue-blind)
#3E1E2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f114f;
/* rgb */ color: rgb(63, 17, 79);
/* oklch */ color: oklch(28.7% 0.112 315.8);
Tailwind
colors: {
  custom: {
    50: '#775481',
    500: '#3f114f',
    950: '#000000',
  },
}
SCSS
$custom: #3f114f;
$custom-light: #775481;
$custom-dark: #000000;
JSON
{
  "hex": "#3f114f",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 284.516,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28685,
    "c": 0.11245,
    "h": 315.8
  },
  "luminance": 0.02022
}

Semantic roles & 50–950 ramp

primary
#3F114F
secondary
#498833
accent
#E8406B
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F114F

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

Preview Lab → · Contrast checker → · Palette generator →

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