#3E136A#3E136A

#3E136A is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.139 H 300.7°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#3E136A
RGBrgb(62, 19, 106)
HSLhsl(270, 70%, 25%)
HSVhsv(270, 82%, 42%)
CMYKcmyk(41.5%, 82.1%, 0%, 58.4%)
CIE-LABlab(18.06, 38.29, -41.91)
CIE-LCHlch(18.06, 56.76, 312.41°)
OKLaboklab(31.1% 0.0711 -0.1197)
OKLCHoklch(31.1% 0.139 300.7)
XYZxyz(4.8204, 2.5304, 13.8673)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E136A #3F6A13
analogous
#13146A #3E136A #6A136A
triadic
#3E136A #6A3E13 #136A3E
tetradic
#3E136A #6A1314 #3F6A13 #136A6A
square
#3E136A #6A1314 #3F6A13 #136A6A
split-complementary
#3E136A #6A6A13 #146A13
monochromatic
#0F051A #200A36 #3E136A #5C1C9E #7B26D2

Accessibility & contrast

On white

13.94
#3E136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3E136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E136A
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E136A#FFFFFF#000000##FFFFFF
##3E136A1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002C68
Tritanopia (blue-blind)
#342A3E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3e136a;
/* rgb */ color: rgb(62, 19, 106);
/* oklch */ color: oklch(31.1% 0.139 300.7);
Tailwind
colors: {
  custom: {
    50: '#785695',
    500: '#3e136a',
    950: '#000000',
  },
}
SCSS
$custom: #3e136a;
$custom-light: #785695;
$custom-dark: #000000;
JSON
{
  "hex": "#3e136a",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 269.655,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.311,
    "c": 0.13928,
    "h": 300.7
  },
  "luminance": 0.0253
}

Semantic roles & 50–950 ramp

primary
#3E136A
secondary
#6DA138
accent
#EC3B95
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E136A

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

Preview Lab → · Contrast checker → · Palette generator →

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