#3E134E#3E134E

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

Color values

HEX#3E134E
RGBrgb(62, 19, 78)
HSLhsl(284, 61%, 19%)
HSVhsv(284, 76%, 31%)
CMYKcmyk(20.5%, 75.6%, 0%, 69.4%)
CIE-LABlab(15.70, 31.21, -27.01)
CIE-LCHlch(15.70, 41.27, 319.12°)
OKLaboklab(28.69% 0.0769 -0.076)
OKLCHoklch(28.69% 0.108 315.3)
XYZxyz(3.5944, 2.0401, 7.4107)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E134E #234E13
analogous
#21134E #3E134E #4E1341
triadic
#3E134E #4E3E13 #134E3E
tetradic
#3E134E #4E2113 #234E13 #13414E
square
#3E134E #4E2113 #234E13 #13414E
split-complementary
#3E134E #414E13 #134E21
monochromatic
#140619 #17071D #3E134E #651F7F #8C2BB0

Accessibility & contrast

On white

14.91
#3E134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E134E
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E134E#FFFFFF#000000##FFFFFF
##3E134E1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#12284D
Tritanopia (blue-blind)
#3D1F2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e134e;
/* rgb */ color: rgb(62, 19, 78);
/* oklch */ color: oklch(28.7% 0.108 315.3);
Tailwind
colors: {
  custom: {
    50: '#765580',
    500: '#3e134e',
    950: '#000000',
  },
}
SCSS
$custom: #3e134e;
$custom-light: #765580;
$custom-dark: #000000;
JSON
{
  "hex": "#3e134e",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 283.729,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28692,
    "c": 0.1081,
    "h": 315.3
  },
  "luminance": 0.0204
}

Semantic roles & 50–950 ramp

primary
#3E134E
secondary
#4C8736
accent
#E4446F
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E134E

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

Preview Lab → · Contrast checker → · Palette generator →

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