#3E1A67#3E1A67

#3E1A67 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.127 H 300.6°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#3E1A67
RGBrgb(62, 26, 103)
HSLhsl(268, 60%, 25%)
HSVhsv(268, 75%, 40%)
CMYKcmyk(39.8%, 74.8%, 0%, 59.6%)
CIE-LABlab(18.98, 34.08, -38.44)
CIE-LCHlch(18.98, 51.37, 311.56°)
OKLaboklab(31.67% 0.0648 -0.1096)
OKLCHoklch(31.67% 0.127 300.6)
XYZxyz(4.8036, 2.7422, 13.1055)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1A67 #43671A
analogous
#1A1C67 #3E1A67 #641A67
triadic
#3E1A67 #673E1A #1A673E
tetradic
#3E1A67 #671A1C #43671A #1A6764
square
#3E1A67 #671A1C #43671A #1A6764
split-complementary
#3E1A67 #67641A #1C671A
monochromatic
#0F0618 #210E36 #3E1A67 #5B2698 #7933C9

Accessibility & contrast

On white

13.56
#3E1A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3E1A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1A67
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1A67#FFFFFF#000000##FFFFFF
##3E1A671.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002E65
Tritanopia (blue-blind)
#352D3E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3e1a67;
/* rgb */ color: rgb(62, 26, 103);
/* oklch */ color: oklch(31.7% 0.127 300.6);
Tailwind
colors: {
  custom: {
    50: '#785a93',
    500: '#3e1a67',
    950: '#000000',
  },
}
SCSS
$custom: #3e1a67;
$custom-light: #785a93;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1a67",
  "rgb": {
    "r": 62,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 268.052,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31668,
    "c": 0.12733,
    "h": 300.6
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#3E1A67
secondary
#719D40
accent
#E34599
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3E1A67

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

Preview Lab → · Contrast checker → · Palette generator →

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