#3E137F#3E137F

#3E137F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.2% C 0.163 H 293.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#3E137F
RGBrgb(62, 19, 127)
HSLhsl(264, 74%, 29%)
HSVhsv(264, 85%, 50%)
CMYKcmyk(51.2%, 85%, 0%, 50.2%)
CIE-LABlab(20.13, 43.89, -52.03)
CIE-LCHlch(20.13, 68.07, 310.15°)
OKLaboklab(33.17% 0.0639 -0.1494)
OKLCHoklch(33.17% 0.163 293.2)
XYZxyz(6.0492, 3.0220, 20.3391)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E137F #547F13
analogous
#131E7F #3E137F #74137F
triadic
#3E137F #7F3E13 #137F3E
tetradic
#3E137F #7F131E #547F13 #137F74
square
#3E137F #7F131E #547F13 #137F74
split-complementary
#3E137F #7F7413 #1E7F13
monochromatic
#0D041B #240B4A #3E137F #581BB4 #742DE0

Accessibility & contrast

On white

13.09
#3E137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E137F
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E137F#FFFFFF#000000##FFFFFF
##3E137F1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#29334A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3e137f;
/* rgb */ color: rgb(62, 19, 127);
/* oklch */ color: oklch(33.2% 0.163 293.2);
Tailwind
colors: {
  custom: {
    50: '#7b58a5',
    500: '#3e137f',
    950: '#000000',
  },
}
SCSS
$custom: #3e137f;
$custom-light: #7b58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e137f",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 263.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33172,
    "c": 0.16253,
    "h": 293.2
  },
  "luminance": 0.03022
}

Semantic roles & 50–950 ramp

primary
#3E137F
secondary
#83B439
accent
#F137A7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E137F

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

Preview Lab → · Contrast checker → · Palette generator →

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