#3E1A69#3E1A69

#3E1A69 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.130 H 299.8°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#3E1A69
RGBrgb(62, 26, 105)
HSLhsl(267, 60%, 26%)
HSVhsv(267, 75%, 41%)
CMYKcmyk(41%, 75.2%, 0%, 58.8%)
CIE-LABlab(19.15, 34.64, -39.47)
CIE-LCHlch(19.15, 52.51, 311.27°)
OKLaboklab(31.84% 0.0644 -0.1126)
OKLCHoklch(31.84% 0.13 299.8)
XYZxyz(4.9052, 2.7828, 13.6406)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1A69 #45691A
analogous
#1A1D69 #3E1A69 #651A69
triadic
#3E1A69 #693E1A #1A693E
tetradic
#3E1A69 #691A1D #45691A #1A6965
square
#3E1A69 #691A1D #45691A #1A6965
split-complementary
#3E1A69 #69651A #1D691A
monochromatic
#0E0619 #210E38 #3E1A69 #5B269A #7832CB

Accessibility & contrast

On white

13.49
#3E1A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3E1A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1A69
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1A69#FFFFFF#000000##FFFFFF
##3E1A691.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6B
Deuteranopia (green-blind)
#002E67
Tritanopia (blue-blind)
#342D3F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3e1a69;
/* rgb */ color: rgb(62, 26, 105);
/* oklch */ color: oklch(31.8% 0.130 299.8);
Tailwind
colors: {
  custom: {
    50: '#785a95',
    500: '#3e1a69',
    950: '#000000',
  },
}
SCSS
$custom: #3e1a69;
$custom-light: #785a95;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1a69",
  "rgb": {
    "r": 62,
    "g": 26,
    "b": 105
  },
  "hsl": {
    "h": 267.342,
    "s": 60.305,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31844,
    "c": 0.12975,
    "h": 299.8
  },
  "luminance": 0.02783
}

Semantic roles & 50–950 ramp

primary
#3E1A69
secondary
#749E40
accent
#E3449B
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3E1A69

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

Preview Lab → · Contrast checker → · Palette generator →

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