#3E134F#3E134F

#3E134F is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.8% C 0.109 H 314.7°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#3E134F
RGBrgb(62, 19, 79)
HSLhsl(283, 61%, 19%)
HSVhsv(283, 76%, 31%)
CMYKcmyk(21.5%, 75.9%, 0%, 69%)
CIE-LABlab(15.77, 31.45, -27.57)
CIE-LCHlch(15.77, 41.82, 318.75°)
OKLaboklab(28.77% 0.0768 -0.0776)
OKLCHoklch(28.77% 0.109 314.7)
XYZxyz(3.6305, 2.0545, 7.6009)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E134F #244F13
analogous
#20134F #3E134F #4F1342
triadic
#3E134F #4F3E13 #134F3E
tetradic
#3E134F #4F2013 #244F13 #13424F
square
#3E134F #4F2013 #244F13 #13424F
split-complementary
#3E134F #424F13 #134F20
monochromatic
#130619 #17071E #3E134F #651F80 #8B2BB2

Accessibility & contrast

On white

14.89
#3E134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3E134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E134F
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E134F#FFFFFF#000000##FFFFFF
##3E134F1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#11284E
Tritanopia (blue-blind)
#3D1F2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e134f;
/* rgb */ color: rgb(62, 19, 79);
/* oklch */ color: oklch(28.8% 0.109 314.7);
Tailwind
colors: {
  custom: {
    50: '#765581',
    500: '#3e134f',
    950: '#000000',
  },
}
SCSS
$custom: #3e134f;
$custom-light: #765581;
$custom-dark: #000000;
JSON
{
  "hex": "#3e134f",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 283,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28769,
    "c": 0.10921,
    "h": 314.7
  },
  "luminance": 0.02054
}

Semantic roles & 50–950 ramp

primary
#3E134F
secondary
#4D8836
accent
#E44371
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E134F

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

Preview Lab → · Contrast checker → · Palette generator →

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