#3F184F#3F184F

#3F184F is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.6% C 0.102 H 314.7°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#3F184F
RGBrgb(63, 24, 79)
HSLhsl(283, 53%, 20%)
HSVhsv(283, 70%, 31%)
CMYKcmyk(20.3%, 69.6%, 0%, 69%)
CIE-LABlab(16.87, 29.11, -25.81)
CIE-LCHlch(16.87, 38.90, 318.45°)
OKLaboklab(29.59% 0.0717 -0.0725)
OKLCHoklch(29.59% 0.102 314.7)
XYZxyz(3.7876, 2.2747, 7.6352)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F184F #284F18
analogous
#23184F #3F184F #4F1844
triadic
#3F184F #4F3F18 #184F3F
tetradic
#3F184F #4F2318 #284F18 #18444F
square
#3F184F #4F2318 #284F18 #18444F
split-complementary
#3F184F #444F18 #184F23
monochromatic
#130717 #1A0A20 #3F184F #64267E #8A35AD

Accessibility & contrast

On white

14.43
#3F184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3F184F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F184F
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F184F#FFFFFF#000000##FFFFFF
##3F184F1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042751
Deuteranopia (green-blind)
#172B4E
Tritanopia (blue-blind)
#3E2231
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f184f;
/* rgb */ color: rgb(63, 24, 79);
/* oklch */ color: oklch(29.6% 0.102 314.7);
Tailwind
colors: {
  custom: {
    50: '#765881',
    500: '#3f184f',
    950: '#000000',
  },
}
SCSS
$custom: #3f184f;
$custom-light: #765881;
$custom-dark: #000000;
JSON
{
  "hex": "#3f184f",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 282.545,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29591,
    "c": 0.10191,
    "h": 314.7
  },
  "luminance": 0.02275
}

Semantic roles & 50–950 ramp

primary
#3F184F
secondary
#52863D
accent
#DD4B75
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F184F

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

Preview Lab → · Contrast checker → · Palette generator →

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