#3E147F#3E147F

#3E147F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.162 H 293.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#3E147F
RGBrgb(62, 20, 127)
HSLhsl(264, 73%, 29%)
HSVhsv(264, 84%, 50%)
CMYKcmyk(51.2%, 84.3%, 0%, 50.2%)
CIE-LABlab(20.27, 43.49, -51.81)
CIE-LCHlch(20.27, 67.64, 310.01°)
OKLaboklab(33.27% 0.0632 -0.1488)
OKLCHoklch(33.27% 0.162 293)
XYZxyz(6.0665, 3.0565, 20.3449)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E147F #557F14
analogous
#14207F #3E147F #74147F
triadic
#3E147F #7F3E14 #147F3E
tetradic
#3E147F #7F1420 #557F14 #147F74
square
#3E147F #7F1420 #557F14 #147F74
split-complementary
#3E147F #7F7414 #207F14
monochromatic
#0D041A #240C4A #3E147F #581CB4 #742FDE

Accessibility & contrast

On white

13.03
#3E147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3E147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E147F
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E147F#FFFFFF#000000##FFFFFF
##3E147F1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e147f;
/* rgb */ color: rgb(62, 20, 127);
/* oklch */ color: oklch(33.3% 0.162 293.0);
Tailwind
colors: {
  custom: {
    50: '#7b58a5',
    500: '#3e147f',
    950: '#000000',
  },
}
SCSS
$custom: #3e147f;
$custom-light: #7b58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e147f",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 263.551,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33267,
    "c": 0.16166,
    "h": 293
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#3E147F
secondary
#84B43B
accent
#EF38A8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E147F

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

Preview Lab → · Contrast checker → · Palette generator →

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