#3E1D77#3E1D77

#3E1D77 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.143 H 294.0°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#3E1D77
RGBrgb(62, 29, 119)
HSLhsl(262, 61%, 29%)
HSVhsv(262, 76%, 47%)
CMYKcmyk(47.9%, 75.6%, 0%, 53.3%)
CIE-LABlab(20.96, 37.03, -45.57)
CIE-LCHlch(20.96, 58.72, 309.09°)
OKLaboklab(33.51% 0.0582 -0.1306)
OKLCHoklch(33.51% 0.143 294)
XYZxyz(5.7548, 3.2346, 17.7703)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D77 #56771D
analogous
#1D2977 #3E1D77 #6B1D77
triadic
#3E1D77 #773E1D #1D773E
tetradic
#3E1D77 #771D29 #56771D #1D776B
square
#3E1D77 #771D29 #56771D #1D776B
split-complementary
#3E1D77 #776B1D #29771D
monochromatic
#0D0619 #241146 #3E1D77 #5829A8 #743ED0

Accessibility & contrast

On white

12.75
#3E1D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#3E1D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1D77
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D77#FFFFFF#000000##FFFFFF
##3E1D771.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#2D3448
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e1d77;
/* rgb */ color: rgb(62, 29, 119);
/* oklch */ color: oklch(33.5% 0.143 294.0);
Tailwind
colors: {
  custom: {
    50: '#795c9f',
    500: '#3e1d77',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d77;
$custom-light: #795c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d77",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 262,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33513,
    "c": 0.14296,
    "h": 294
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#3E1D77
secondary
#86AB45
accent
#E444A9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #3E1D77

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

Preview Lab → · Contrast checker → · Palette generator →

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