#3E146A#3E146A

#3E146A is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.138 H 300.5°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#3E146A
RGBrgb(62, 20, 106)
HSLhsl(269, 68%, 25%)
HSVhsv(269, 81%, 42%)
CMYKcmyk(41.5%, 81.1%, 0%, 58.4%)
CIE-LABlab(18.21, 37.84, -41.66)
CIE-LCHlch(18.21, 56.28, 312.25°)
OKLaboklab(31.21% 0.0702 -0.119)
OKLCHoklch(31.21% 0.138 300.5)
XYZxyz(4.8376, 2.5650, 13.8731)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E146A #406A14
analogous
#14156A #3E146A #69146A
triadic
#3E146A #6A3E14 #146A3E
tetradic
#3E146A #6A1415 #406A14 #146A69
square
#3E146A #6A1415 #406A14 #146A69
split-complementary
#3E146A #6A6914 #156A14
monochromatic
#0F051A #200A37 #3E146A #5C1E9D #7A27D1

Accessibility & contrast

On white

13.88
#3E146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E146A
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E146A#FFFFFF#000000##FFFFFF
##3E146A1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e146a;
/* rgb */ color: rgb(62, 20, 106);
/* oklch */ color: oklch(31.2% 0.138 300.5);
Tailwind
colors: {
  custom: {
    50: '#785795',
    500: '#3e146a',
    950: '#000000',
  },
}
SCSS
$custom: #3e146a;
$custom-light: #785795;
$custom-dark: #000000;
JSON
{
  "hex": "#3e146a",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 269.302,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31208,
    "c": 0.13819,
    "h": 300.5
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#3E146A
secondary
#6EA139
accent
#EB3D96
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E146A

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

Preview Lab → · Contrast checker → · Palette generator →

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