#3E135A#3E135A

#3E135A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.121 H 308.2°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#3E135A
RGBrgb(62, 19, 90)
HSLhsl(276, 65%, 21%)
HSVhsv(276, 79%, 35%)
CMYKcmyk(31.1%, 78.9%, 0%, 64.7%)
CIE-LABlab(16.64, 34.15, -33.62)
CIE-LCHlch(16.64, 47.92, 315.45°)
OKLaboklab(29.67% 0.0752 -0.0954)
OKLCHoklch(29.67% 0.121 308.2)
XYZxyz(4.0646, 2.2281, 9.8868)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E135A #2F5A13
analogous
#1B135A #3E135A #5A1353
triadic
#3E135A #5A3E13 #135A3E
tetradic
#3E135A #5A1B13 #2F5A13 #13535A
square
#3E135A #5A1B13 #2F5A13 #13535A
split-complementary
#3E135A #535A13 #135A1B
monochromatic
#110519 #1B0827 #3E135A #611E8D #8428BF

Accessibility & contrast

On white

14.53
#3E135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3E135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E135A
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E135A#FFFFFF#000000##FFFFFF
##3E135A1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002A59
Tritanopia (blue-blind)
#3A2435
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e135a;
/* rgb */ color: rgb(62, 19, 90);
/* oklch */ color: oklch(29.7% 0.121 308.2);
Tailwind
colors: {
  custom: {
    50: '#775589',
    500: '#3e135a',
    950: '#000000',
  },
}
SCSS
$custom: #3e135a;
$custom-light: #775589;
$custom-dark: #000000;
JSON
{
  "hex": "#3e135a",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 276.338,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29665,
    "c": 0.12143,
    "h": 308.2
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#3E135A
secondary
#5B9237
accent
#E84082
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E135A

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

Preview Lab → · Contrast checker → · Palette generator →

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