#3E2C4E#3E2C4E

#3E2C4E is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.0% C 0.062 H 307.6°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#3E2C4E
RGBrgb(62, 44, 78)
HSLhsl(272, 28%, 24%)
HSVhsv(272, 44%, 31%)
CMYKcmyk(20.5%, 43.6%, 0%, 69.4%)
CIE-LABlab(21.49, 16.05, -17.83)
CIE-LCHlch(21.49, 23.99, 311.98°)
OKLaboklab(32.96% 0.0381 -0.0494)
OKLCHoklch(32.96% 0.062 307.6)
XYZxyz(4.2622, 3.3756, 7.6333)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2C4E #3C4E2C
analogous
#2D2C4E #3E2C4E #4E2C4D
triadic
#3E2C4E #4E3E2C #2C4E3E
tetradic
#3E2C4E #4E2D2C #3C4E2C #2C4D4E
square
#3E2C4E #4E2D2C #3C4E2C #2C4D4E
split-complementary
#3E2C4E #4D4E2C #2C4E2D
monochromatic
#100B14 #1F1627 #3E2C4E #5D4275 #7C589C

Accessibility & contrast

On white

12.54
#3E2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3E2C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2C4E
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2C4E#FFFFFF#000000##FFFFFF
##3E2C4E1.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25334F
Deuteranopia (green-blind)
#29344D
Tritanopia (blue-blind)
#3C3139
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e2c4e;
/* rgb */ color: rgb(62, 44, 78);
/* oklch */ color: oklch(33.0% 0.062 307.6);
Tailwind
colors: {
  custom: {
    50: '#74657f',
    500: '#3e2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #3e2c4e;
$custom-light: #74657f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2c4e",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 271.765,
    "s": 27.869,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32963,
    "c": 0.06243,
    "h": 307.6
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#3E2C4E
secondary
#6A8056
accent
#C46491
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08050A
muted
#7B7A7C

Preview Lab

Preview with #3E2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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