#3E2A4E#3E2A4E

#3E2A4E is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.6% C 0.066 H 308.7°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#3E2A4E
RGBrgb(62, 42, 78)
HSLhsl(273, 30%, 24%)
HSVhsv(273, 46%, 31%)
CMYKcmyk(20.5%, 46.2%, 0%, 69.4%)
CIE-LABlab(20.94, 17.38, -18.68)
CIE-LCHlch(20.94, 25.52, 312.94°)
OKLaboklab(32.55% 0.0416 -0.0519)
OKLCHoklch(32.55% 0.066 308.7)
XYZxyz(4.1895, 3.2302, 7.6090)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2A4E #3A4E2A
analogous
#2C2A4E #3E2A4E #4E2A4C
triadic
#3E2A4E #4E3E2A #2A4E3E
tetradic
#3E2A4E #4E2C2A #3A4E2A #2A4C4E
square
#3E2A4E #4E2C2A #3A4E2A #2A4C4E
split-complementary
#3E2A4E #4C4E2A #2A4E2C
monochromatic
#100B14 #1E1526 #3E2A4E #5E3F76 #7D559E

Accessibility & contrast

On white

12.76
#3E2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2A4E
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2A4E#FFFFFF#000000##FFFFFF
##3E2A4E1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314F
Deuteranopia (green-blind)
#27334D
Tritanopia (blue-blind)
#3C3038
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e2a4e;
/* rgb */ color: rgb(62, 42, 78);
/* oklch */ color: oklch(32.6% 0.066 308.7);
Tailwind
colors: {
  custom: {
    50: '#74647f',
    500: '#3e2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #3e2a4e;
$custom-light: #74647f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2a4e",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 273.333,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32551,
    "c": 0.06647,
    "h": 308.7
  },
  "luminance": 0.0323
}

Semantic roles & 50–950 ramp

primary
#3E2A4E
secondary
#678054
accent
#C6628E
background
#F7F5F7
surface
#EDEAEE
border
#C8C6C9
text
#08050A
muted
#7B797C

Preview Lab

Preview with #3E2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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