#3E137E#3E137E

#3E137E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.161 H 293.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#3E137E
RGBrgb(62, 19, 126)
HSLhsl(264, 74%, 28%)
HSVhsv(264, 85%, 49%)
CMYKcmyk(50.8%, 84.9%, 0%, 50.6%)
CIE-LABlab(20.03, 43.62, -51.57)
CIE-LCHlch(20.03, 67.54, 310.23°)
OKLaboklab(33.07% 0.0643 -0.1481)
OKLCHoklch(33.07% 0.161 293.5)
XYZxyz(5.9843, 2.9960, 19.9976)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E137E #537E13
analogous
#131D7E #3E137E #73137E
triadic
#3E137E #7E3E13 #137E3E
tetradic
#3E137E #7E131D #537E13 #137E73
square
#3E137E #7E131D #537E13 #137E73
split-complementary
#3E137E #7E7313 #1D7E13
monochromatic
#0D041B #240B49 #3E137E #581BB3 #742CDF

Accessibility & contrast

On white

13.13
#3E137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3E137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E137E
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E137E#FFFFFF#000000##FFFFFF
##3E137E1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#2A334A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3e137e;
/* rgb */ color: rgb(62, 19, 126);
/* oklch */ color: oklch(33.1% 0.161 293.5);
Tailwind
colors: {
  custom: {
    50: '#7b58a4',
    500: '#3e137e',
    950: '#000000',
  },
}
SCSS
$custom: #3e137e;
$custom-light: #7b58a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e137e",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 264.112,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3307,
    "c": 0.16143,
    "h": 293.5
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#3E137E
secondary
#82B439
accent
#F037A6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E137E

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

Preview Lab → · Contrast checker → · Palette generator →

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