#3E1E67#3E1E67

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

Color values

HEX#3E1E67
RGBrgb(62, 30, 103)
HSLhsl(266, 55%, 26%)
HSVhsv(266, 71%, 40%)
CMYKcmyk(39.8%, 70.9%, 0%, 59.6%)
CIE-LABlab(19.77, 31.89, -37.16)
CIE-LCHlch(19.77, 48.97, 310.64°)
OKLaboklab(32.23% 0.0602 -0.1059)
OKLCHoklch(32.23% 0.122 299.6)
XYZxyz(4.8985, 2.9319, 13.1372)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E67 #47671E
analogous
#1E2367 #3E1E67 #621E67
triadic
#3E1E67 #673E1E #1E673E
tetradic
#3E1E67 #671E23 #47671E #1E6762
square
#3E1E67 #671E23 #47671E #1E6762
split-complementary
#3E1E67 #67621E #23671E
monochromatic
#0E0718 #211038 #3E1E67 #5B2C96 #773AC6

Accessibility & contrast

On white

13.24
#3E1E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3E1E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E67
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E67#FFFFFF#000000##FFFFFF
##3E1E671.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#002F65
Tritanopia (blue-blind)
#352F3F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3e1e67;
/* rgb */ color: rgb(62, 30, 103);
/* oklch */ color: oklch(32.2% 0.122 299.6);
Tailwind
colors: {
  custom: {
    50: '#775c93',
    500: '#3e1e67',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e67;
$custom-light: #775c93;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e67",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 103
  },
  "hsl": {
    "h": 266.301,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32232,
    "c": 0.12177,
    "h": 299.6
  },
  "luminance": 0.02932
}

Semantic roles & 50–950 ramp

primary
#3E1E67
secondary
#769C45
accent
#DE4A9D
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3E1E67

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

Preview Lab → · Contrast checker → · Palette generator →

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