#3D134E#3D134E

#3D134E is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.108 H 314.5°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#3D134E
RGBrgb(61, 19, 78)
HSLhsl(283, 61%, 19%)
HSVhsv(283, 76%, 31%)
CMYKcmyk(21.8%, 75.6%, 0%, 69.4%)
CIE-LABlab(15.53, 30.95, -27.29)
CIE-LCHlch(15.53, 41.26, 318.60°)
OKLaboklab(28.54% 0.0754 -0.0768)
OKLCHoklch(28.54% 0.108 314.5)
XYZxyz(3.5323, 2.0080, 7.4078)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D134E #244E13
analogous
#20134E #3D134E #4E1342
triadic
#3D134E #4E3D13 #134E3D
tetradic
#3D134E #4E2013 #244E13 #13424E
square
#3D134E #4E2013 #244E13 #13424E
split-complementary
#3D134E #424E13 #134E20
monochromatic
#130619 #17071D #3D134E #631F7F #8A2BB0

Accessibility & contrast

On white

14.98
#3D134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3D134E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D134E
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D134E#FFFFFF#000000##FFFFFF
##3D134E1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#10284D
Tritanopia (blue-blind)
#3C1F2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d134e;
/* rgb */ color: rgb(61, 19, 78);
/* oklch */ color: oklch(28.5% 0.108 314.5);
Tailwind
colors: {
  custom: {
    50: '#755580',
    500: '#3d134e',
    950: '#000000',
  },
}
SCSS
$custom: #3d134e;
$custom-light: #755580;
$custom-dark: #000000;
JSON
{
  "hex": "#3d134e",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 282.712,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28538,
    "c": 0.10766,
    "h": 314.5
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#3D134E
secondary
#4D8736
accent
#E44472
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3D134E

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

Preview Lab → · Contrast checker → · Palette generator →

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