#3F113B#3F113B

#3F113B is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.3% C 0.092 H 331.4°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#3F113B
RGBrgb(63, 17, 59)
HSLhsl(305, 58%, 16%)
HSVhsv(305, 73%, 25%)
CMYKcmyk(0%, 73%, 6.3%, 75.3%)
CIE-LABlab(14.25, 28.31, -16.05)
CIE-LCHlch(14.25, 32.55, 330.45°)
OKLaboklab(27.28% 0.0808 -0.044)
OKLCHoklch(27.28% 0.092 331.4)
XYZxyz(3.0398, 1.7737, 4.3191)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F113B #113F15
analogous
#2C113F #3F113B #3F1124
triadic
#3F113B #3B3F11 #113B3F
tetradic
#3F113B #3F2C11 #113F15 #11243F
square
#3F113B #3F2C11 #113F15 #11243F
split-complementary
#3F113B #243F11 #113F2C
monochromatic
#180717 #180717 #3F113B #6F1E68 #9F2B95

Accessibility & contrast

On white

15.50
#3F113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3F113B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F113B
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F113B#FFFFFF#000000##FFFFFF
##3F113B1.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E203C
Deuteranopia (green-blind)
#1E263A
Tritanopia (blue-blind)
#421624
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f113b;
/* rgb */ color: rgb(63, 17, 59);
/* oklch */ color: oklch(27.3% 0.092 331.4);
Tailwind
colors: {
  custom: {
    50: '#765371',
    500: '#3f113b',
    950: '#000000',
  },
}
SCSS
$custom: #3f113b;
$custom-light: #765371;
$custom-dark: #000000;
JSON
{
  "hex": "#3f113b",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 305.217,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27277,
    "c": 0.09202,
    "h": 331.4
  },
  "luminance": 0.01773
}

Semantic roles & 50–950 ramp

primary
#3F113B
secondary
#337839
accent
#E15447
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #3F113B

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

Preview Lab → · Contrast checker → · Palette generator →

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