#3E134C#3E134C

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

Color values

HEX#3E134C
RGBrgb(62, 19, 76)
HSLhsl(285, 60%, 19%)
HSVhsv(285, 75%, 30%)
CMYKcmyk(18.4%, 75%, 0%, 70.2%)
CIE-LABlab(15.55, 30.74, -25.87)
CIE-LCHlch(15.55, 40.18, 319.91°)
OKLaboklab(28.54% 0.077 -0.0727)
OKLCHoklch(28.54% 0.106 316.7)
XYZxyz(3.5238, 2.0118, 7.0388)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E134C #214C13
analogous
#21134C #3E134C #4C133D
triadic
#3E134C #4C3E13 #134C3E
tetradic
#3E134C #4C2113 #214C13 #133D4C
square
#3E134C #4C2113 #214C13 #133D4C
split-complementary
#3E134C #3D4C13 #134C21
monochromatic
#140618 #16071B #3E134C #661F7D #8E2BAE

Accessibility & contrast

On white

14.97
#3E134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E134C
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E134C#FFFFFF#000000##FFFFFF
##3E134C1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#14284B
Tritanopia (blue-blind)
#3D1E2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e134c;
/* rgb */ color: rgb(62, 19, 76);
/* oklch */ color: oklch(28.5% 0.106 316.7);
Tailwind
colors: {
  custom: {
    50: '#76557e',
    500: '#3e134c',
    950: '#000000',
  },
}
SCSS
$custom: #3e134c;
$custom-light: #76557e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e134c",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 285.263,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2854,
    "c": 0.10591,
    "h": 316.7
  },
  "luminance": 0.02012
}

Semantic roles & 50–950 ramp

primary
#3E134C
secondary
#498536
accent
#E3456C
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E134C

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

Preview Lab → · Contrast checker → · Palette generator →

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