#3E146B#3E146B

#3E146B is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.139 H 300.1°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#3E146B
RGBrgb(62, 20, 107)
HSLhsl(269, 69%, 25%)
HSVhsv(269, 81%, 42%)
CMYKcmyk(42.1%, 81.3%, 0%, 58%)
CIE-LABlab(18.30, 38.11, -42.16)
CIE-LCHlch(18.30, 56.83, 312.11°)
OKLaboklab(31.3% 0.0699 -0.1205)
OKLCHoklch(31.3% 0.139 300.1)
XYZxyz(4.8899, 2.5859, 14.1486)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E146B #416B14
analogous
#14156B #3E146B #6A146B
triadic
#3E146B #6B3E14 #146B3E
tetradic
#3E146B #6B1415 #416B14 #146B6A
square
#3E146B #6B1415 #416B14 #146B6A
split-complementary
#3E146B #6B6A14 #156B14
monochromatic
#0F051A #200A37 #3E146B #5C1E9F #7A27D2

Accessibility & contrast

On white

13.84
#3E146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3E146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E146B
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E146B#FFFFFF#000000##FFFFFF
##3E146B1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#332B3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3e146b;
/* rgb */ color: rgb(62, 20, 107);
/* oklch */ color: oklch(31.3% 0.139 300.1);
Tailwind
colors: {
  custom: {
    50: '#785796',
    500: '#3e146b',
    950: '#000000',
  },
}
SCSS
$custom: #3e146b;
$custom-light: #785796;
$custom-dark: #000000;
JSON
{
  "hex": "#3e146b",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 268.966,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31301,
    "c": 0.13931,
    "h": 300.1
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#3E146B
secondary
#6FA239
accent
#EB3C97
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E146B

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

Preview Lab → · Contrast checker → · Palette generator →

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