#3E2B4E#3E2B4E

#3E2B4E is a dark, moderate violet. Relative luminance 0.033; OKLCH L 32.8% C 0.064 H 308.2°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#3E2B4E
RGBrgb(62, 43, 78)
HSLhsl(273, 29%, 24%)
HSVhsv(273, 45%, 31%)
CMYKcmyk(20.5%, 44.9%, 0%, 69.4%)
CIE-LABlab(21.21, 16.72, -18.26)
CIE-LCHlch(21.21, 24.76, 312.47°)
OKLaboklab(32.76% 0.0398 -0.0507)
OKLCHoklch(32.76% 0.064 308.2)
XYZxyz(4.2254, 3.3020, 7.6210)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B4E #3B4E2B
analogous
#2C2B4E #3E2B4E #4E2B4C
triadic
#3E2B4E #4E3E2B #2B4E3E
tetradic
#3E2B4E #4E2C2B #3B4E2B #2B4C4E
square
#3E2B4E #4E2C2B #3B4E2B #2B4C4E
split-complementary
#3E2B4E #4C4E2B #2B4E2C
monochromatic
#100B14 #1F1527 #3E2B4E #5D4175 #7D569D

Accessibility & contrast

On white

12.65
#3E2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3E2B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2B4E
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2B4E#FFFFFF#000000##FFFFFF
##3E2B4E1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23324F
Deuteranopia (green-blind)
#28334D
Tritanopia (blue-blind)
#3C3038
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3e2b4e;
/* rgb */ color: rgb(62, 43, 78);
/* oklch */ color: oklch(32.8% 0.064 308.2);
Tailwind
colors: {
  custom: {
    50: '#74647f',
    500: '#3e2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b4e;
$custom-light: #74647f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b4e",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 272.571,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32756,
    "c": 0.06446,
    "h": 308.2
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#3E2B4E
secondary
#698055
accent
#C56390
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08050A
muted
#7B7A7C

Preview Lab

Preview with #3E2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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