#3F114E#3F114E

#3F114E is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.111 H 316.5°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#3F114E
RGBrgb(63, 17, 78)
HSLhsl(285, 64%, 19%)
HSVhsv(285, 78%, 31%)
CMYKcmyk(19.2%, 78.2%, 0%, 69.4%)
CIE-LABlab(15.53, 32.41, -27.27)
CIE-LCHlch(15.53, 42.35, 319.92°)
OKLaboklab(28.61% 0.0808 -0.0767)
OKLCHoklch(28.61% 0.111 316.5)
XYZxyz(3.6253, 2.0079, 7.4028)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F114E #204E11
analogous
#20114E #3F114E #4E113E
triadic
#3F114E #4E3F11 #114E3F
tetradic
#3F114E #4E2011 #204E11 #113E4E
square
#3F114E #4E2011 #204E11 #113E4E
split-complementary
#3F114E #3E4E11 #114E20
monochromatic
#140519 #16061C #3F114E #681C80 #9027B2

Accessibility & contrast

On white

14.98
#3F114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F114E
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F114E#FFFFFF#000000##FFFFFF
##3F114E1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#11284D
Tritanopia (blue-blind)
#3E1D2E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f114e;
/* rgb */ color: rgb(63, 17, 78);
/* oklch */ color: oklch(28.6% 0.111 316.5);
Tailwind
colors: {
  custom: {
    50: '#775480',
    500: '#3f114e',
    950: '#000000',
  },
}
SCSS
$custom: #3f114e;
$custom-light: #775480;
$custom-dark: #000000;
JSON
{
  "hex": "#3f114e",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 285.246,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28607,
    "c": 0.11139,
    "h": 316.5
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#3F114E
secondary
#488733
accent
#E7416A
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F114E

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

Preview Lab → · Contrast checker → · Palette generator →

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