#3E194F#3E194F

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

Color values

HEX#3E194F
RGBrgb(62, 25, 79)
HSLhsl(281, 52%, 20%)
HSVhsv(281, 68%, 31%)
CMYKcmyk(21.5%, 68.4%, 0%, 69%)
CIE-LABlab(16.91, 28.28, -25.74)
CIE-LCHlch(16.91, 38.24, 317.69°)
OKLaboklab(29.59% 0.0688 -0.0723)
OKLCHoklch(29.59% 0.1 313.6)
XYZxyz(3.7453, 2.2840, 7.6392)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E194F #2A4F19
analogous
#23194F #3E194F #4F1945
triadic
#3E194F #4F3E19 #194F3E
tetradic
#3E194F #4F2319 #2A4F19 #19454F
square
#3E194F #4F2319 #2A4F19 #19454F
split-complementary
#3E194F #454F19 #194F23
monochromatic
#120717 #1A0A21 #3E194F #62287D #8736AC

Accessibility & contrast

On white

14.42
#3E194F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E194F
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E194F#FFFFFF#000000##FFFFFF
##3E194F1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052851
Deuteranopia (green-blind)
#162B4E
Tritanopia (blue-blind)
#3C2331
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e194f;
/* rgb */ color: rgb(62, 25, 79);
/* oklch */ color: oklch(29.6% 0.100 313.6);
Tailwind
colors: {
  custom: {
    50: '#755881',
    500: '#3e194f',
    950: '#000000',
  },
}
SCSS
$custom: #3e194f;
$custom-light: #755881;
$custom-dark: #000000;
JSON
{
  "hex": "#3e194f",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 79
  },
  "hsl": {
    "h": 281.111,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29591,
    "c": 0.0998,
    "h": 313.6
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#3E194F
secondary
#55853E
accent
#DB4C79
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3E194F

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

Preview Lab → · Contrast checker → · Palette generator →

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