#3E134B#3E134B

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

Color values

HEX#3E134B
RGBrgb(62, 19, 75)
HSLhsl(286, 60%, 18%)
HSVhsv(286, 75%, 29%)
CMYKcmyk(17.3%, 74.7%, 0%, 70.6%)
CIE-LABlab(15.48, 30.50, -25.30)
CIE-LCHlch(15.48, 39.63, 320.32°)
OKLaboklab(28.47% 0.0771 -0.071)
OKLCHoklch(28.47% 0.105 317.4)
XYZxyz(3.4893, 1.9980, 6.8571)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E134B #204B13
analogous
#22134B #3E134B #4B133C
triadic
#3E134B #4B3E13 #134B3E
tetradic
#3E134B #4B2213 #204B13 #133C4B
square
#3E134B #4B2213 #204B13 #133C4B
split-complementary
#3E134B #3C4B13 #134B22
monochromatic
#140618 #16071A #3E134B #661F7C #8F2CAD

Accessibility & contrast

On white

15.00
#3E134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E134B
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E134B#FFFFFF#000000##FFFFFF
##3E134B1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244D
Deuteranopia (green-blind)
#15284A
Tritanopia (blue-blind)
#3D1E2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e134b;
/* rgb */ color: rgb(62, 19, 75);
/* oklch */ color: oklch(28.5% 0.105 317.4);
Tailwind
colors: {
  custom: {
    50: '#76557e',
    500: '#3e134b',
    950: '#000000',
  },
}
SCSS
$custom: #3e134b;
$custom-light: #76557e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e134b",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 286.071,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28465,
    "c": 0.10481,
    "h": 317.4
  },
  "luminance": 0.01998
}

Semantic roles & 50–950 ramp

primary
#3E134B
secondary
#488436
accent
#E3456A
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E134B

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

Preview Lab → · Contrast checker → · Palette generator →

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