#3E1A85#3E1A85

#3E1A85 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.163 H 290.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#3E1A85
RGBrgb(62, 26, 133)
HSLhsl(260, 67%, 31%)
HSVhsv(260, 80%, 52%)
CMYKcmyk(53.4%, 80.5%, 0%, 47.8%)
CIE-LABlab(21.79, 42.53, -53.11)
CIE-LCHlch(21.79, 68.03, 308.69°)
OKLaboklab(34.5% 0.0568 -0.1526)
OKLCHoklch(34.5% 0.163 290.4)
XYZxyz(6.5884, 3.4561, 22.5057)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1A85 #61851A
analogous
#1A2B85 #3E1A85 #731A85
triadic
#3E1A85 #853E1A #1A853E
tetradic
#3E1A85 #851A2B #61851A #1A8573
square
#3E1A85 #851A2B #61851A #1A8573
split-complementary
#3E1A85 #85731A #2B851A
monochromatic
#0E061F #261052 #3E1A85 #5624B8 #7440DA

Accessibility & contrast

On white

12.42
#3E1A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3E1A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1A85
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1A85#FFFFFF#000000##FFFFFF
##3E1A851.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#24394F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e1a85;
/* rgb */ color: rgb(62, 26, 133);
/* oklch */ color: oklch(34.5% 0.163 290.4);
Tailwind
colors: {
  custom: {
    50: '#7c5baa',
    500: '#3e1a85',
    950: '#000000',
  },
}
SCSS
$custom: #3e1a85;
$custom-light: #7c5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1a85",
  "rgb": {
    "r": 62,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 260.187,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34503,
    "c": 0.16287,
    "h": 290.4
  },
  "luminance": 0.03456
}

Semantic roles & 50–950 ramp

primary
#3E1A85
secondary
#91B842
accent
#EA3EB0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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