#3E2D4E#3E2D4E

#3E2D4E is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.2% C 0.060 H 307.1°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#3E2D4E
RGBrgb(62, 45, 78)
HSLhsl(271, 27%, 24%)
HSVhsv(271, 42%, 31%)
CMYKcmyk(20.5%, 42.3%, 0%, 69.4%)
CIE-LABlab(21.77, 15.37, -17.40)
CIE-LCHlch(21.77, 23.22, 311.47°)
OKLaboklab(33.17% 0.0364 -0.0482)
OKLCHoklch(33.17% 0.06 307.1)
XYZxyz(4.2999, 3.4510, 7.6458)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D4E #3D4E2D
analogous
#2E2D4E #3E2D4E #4E2D4E
triadic
#3E2D4E #4E3E2D #2D4E3E
tetradic
#3E2D4E #4E2E2D #3D4E2D #2D4E4E
square
#3E2D4E #4E2E2D #3D4E2D #2D4E4E
split-complementary
#3E2D4E #4E4E2D #2D4E2E
monochromatic
#0F0B13 #1F1727 #3E2D4E #5D4375 #7C5A9C

Accessibility & contrast

On white

12.42
#3E2D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3E2D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2D4E
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2D4E#FFFFFF#000000##FFFFFF
##3E2D4E1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26334F
Deuteranopia (green-blind)
#2A344D
Tritanopia (blue-blind)
#3C3239
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e2d4e;
/* rgb */ color: rgb(62, 45, 78);
/* oklch */ color: oklch(33.2% 0.060 307.1);
Tailwind
colors: {
  custom: {
    50: '#74667f',
    500: '#3e2d4e',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d4e;
$custom-light: #74667f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d4e",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 270.909,
    "s": 26.829,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33173,
    "c": 0.06039,
    "h": 307.1
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#3E2D4E
secondary
#6B8057
accent
#C36592
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08060A
muted
#7B7A7C

Preview Lab

Preview with #3E2D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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