#3F113A#3F113A

#3F113A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.2% C 0.091 H 332.3°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#3F113A
RGBrgb(63, 17, 58)
HSLhsl(307, 58%, 16%)
HSVhsv(307, 73%, 25%)
CMYKcmyk(0%, 73%, 7.9%, 75.3%)
CIE-LABlab(14.19, 28.12, -15.43)
CIE-LCHlch(14.19, 32.08, 331.24°)
OKLaboklab(27.22% 0.0807 -0.0423)
OKLCHoklch(27.22% 0.091 332.3)
XYZxyz(3.0141, 1.7634, 4.1838)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F113A #113F16
analogous
#2D113F #3F113A #3F1123
triadic
#3F113A #3A3F11 #113A3F
tetradic
#3F113A #3F2D11 #113F16 #11233F
square
#3F113A #3F2D11 #113F16 #11233F
split-complementary
#3F113A #233F11 #113F2D
monochromatic
#180716 #180716 #3F113A #6F1E66 #9F2B93

Accessibility & contrast

On white

15.53
#3F113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F113A
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F113A#FFFFFF#000000##FFFFFF
##3F113A1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F203B
Deuteranopia (green-blind)
#1F2639
Tritanopia (blue-blind)
#421523
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f113a;
/* rgb */ color: rgb(63, 17, 58);
/* oklch */ color: oklch(27.2% 0.091 332.3);
Tailwind
colors: {
  custom: {
    50: '#765370',
    500: '#3f113a',
    950: '#000000',
  },
}
SCSS
$custom: #3f113a;
$custom-light: #765370;
$custom-dark: #000000;
JSON
{
  "hex": "#3f113a",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 306.522,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27215,
    "c": 0.09107,
    "h": 332.3
  },
  "luminance": 0.01763
}

Semantic roles & 50–950 ramp

primary
#3F113A
secondary
#33783B
accent
#E15847
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #3F113A

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

Preview Lab → · Contrast checker → · Palette generator →

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