#3E184F#3E184F

#3E184F is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.4% C 0.101 H 313.8°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#3E184F
RGBrgb(62, 24, 79)
HSLhsl(281, 53%, 20%)
HSVhsv(281, 70%, 31%)
CMYKcmyk(21.5%, 69.6%, 0%, 69%)
CIE-LABlab(16.71, 28.84, -26.07)
CIE-LCHlch(16.71, 38.87, 317.89°)
OKLaboklab(29.44% 0.0702 -0.0733)
OKLCHoklch(29.44% 0.101 313.8)
XYZxyz(3.7243, 2.2420, 7.6322)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E184F #294F18
analogous
#23184F #3E184F #4F1844
triadic
#3E184F #4F3E18 #184F3E
tetradic
#3E184F #4F2318 #294F18 #18444F
square
#3E184F #4F2318 #294F18 #18444F
split-complementary
#3E184F #444F18 #184F23
monochromatic
#120717 #190A20 #3E184F #63267E #8835AD

Accessibility & contrast

On white

14.50
#3E184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3E184F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E184F
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E184F#FFFFFF#000000##FFFFFF
##3E184F1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032751
Deuteranopia (green-blind)
#152A4E
Tritanopia (blue-blind)
#3C2231
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e184f;
/* rgb */ color: rgb(62, 24, 79);
/* oklch */ color: oklch(29.4% 0.101 313.8);
Tailwind
colors: {
  custom: {
    50: '#755881',
    500: '#3e184f',
    950: '#000000',
  },
}
SCSS
$custom: #3e184f;
$custom-light: #755881;
$custom-dark: #000000;
JSON
{
  "hex": "#3e184f",
  "rgb": {
    "r": 62,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 281.455,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29444,
    "c": 0.10146,
    "h": 313.8
  },
  "luminance": 0.02242
}

Semantic roles & 50–950 ramp

primary
#3E184F
secondary
#53863D
accent
#DD4B78
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3E184F

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

Preview Lab → · Contrast checker → · Palette generator →

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