#3E1A6D#3E1A6D

#3E1A6D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.135 H 298.2°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#3E1A6D
RGBrgb(62, 26, 109)
HSLhsl(266, 61%, 26%)
HSVhsv(266, 76%, 43%)
CMYKcmyk(43.1%, 76.1%, 0%, 57.3%)
CIE-LABlab(19.50, 35.75, -41.50)
CIE-LCHlch(19.50, 54.78, 310.74°)
OKLaboklab(32.2% 0.0635 -0.1186)
OKLCHoklch(32.2% 0.135 298.2)
XYZxyz(5.1156, 2.8670, 14.7489)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1A6D #496D1A
analogous
#1A206D #3E1A6D #681A6D
triadic
#3E1A6D #6D3E1A #1A6D3E
tetradic
#3E1A6D #6D1A20 #496D1A #1A6D68
square
#3E1A6D #6D1A20 #496D1A #1A6D68
split-complementary
#3E1A6D #6D681A #206D1A
monochromatic
#0E0619 #220E3C #3E1A6D #5A269E #7633CE

Accessibility & contrast

On white

13.35
#3E1A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3E1A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1A6D
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1A6D#FFFFFF#000000##FFFFFF
##3E1A6D1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#002E6B
Tritanopia (blue-blind)
#322F42
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3e1a6d;
/* rgb */ color: rgb(62, 26, 109);
/* oklch */ color: oklch(32.2% 0.135 298.2);
Tailwind
colors: {
  custom: {
    50: '#785a98',
    500: '#3e1a6d',
    950: '#000000',
  },
}
SCSS
$custom: #3e1a6d;
$custom-light: #785a98;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1a6d",
  "rgb": {
    "r": 62,
    "g": 26,
    "b": 109
  },
  "hsl": {
    "h": 266.024,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32202,
    "c": 0.13456,
    "h": 298.2
  },
  "luminance": 0.02867
}

Semantic roles & 50–950 ramp

primary
#3E1A6D
secondary
#78A241
accent
#E5439F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3E1A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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