#3D194F#3D194F

#3D194F is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.4% C 0.099 H 312.6°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#3D194F
RGBrgb(61, 25, 79)
HSLhsl(280, 52%, 20%)
HSVhsv(280, 68%, 31%)
CMYKcmyk(22.8%, 68.4%, 0%, 69%)
CIE-LABlab(16.76, 28.00, -26.00)
CIE-LCHlch(16.76, 38.21, 317.12°)
OKLaboklab(29.45% 0.0673 -0.0731)
OKLCHoklch(29.45% 0.099 312.6)
XYZxyz(3.6831, 2.2520, 7.6363)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D194F #2B4F19
analogous
#22194F #3D194F #4F1946
triadic
#3D194F #4F3D19 #194F3D
tetradic
#3D194F #4F2219 #2B4F19 #19464F
square
#3D194F #4F2219 #2B4F19 #19464F
split-complementary
#3D194F #464F19 #194F22
monochromatic
#120717 #190A21 #3D194F #61287D #8536AC

Accessibility & contrast

On white

14.48
#3D194F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D194F
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D194F#FFFFFF#000000##FFFFFF
##3D194F1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d194f;
/* rgb */ color: rgb(61, 25, 79);
/* oklch */ color: oklch(29.4% 0.099 312.6);
Tailwind
colors: {
  custom: {
    50: '#755881',
    500: '#3d194f',
    950: '#000000',
  },
}
SCSS
$custom: #3d194f;
$custom-light: #755881;
$custom-dark: #000000;
JSON
{
  "hex": "#3d194f",
  "rgb": {
    "r": 61,
    "g": 25,
    "b": 79
  },
  "hsl": {
    "h": 280,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29446,
    "c": 0.09936,
    "h": 312.6
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#3D194F
secondary
#56853E
accent
#DB4C7C
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3D194F

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

Preview Lab → · Contrast checker → · Palette generator →

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