#3E2F4E#3E2F4E

#3E2F4E is a dark, muted violet. Relative luminance 0.036; OKLCH L 33.6% C 0.056 H 305.8°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#3E2F4E
RGBrgb(62, 47, 78)
HSLhsl(269, 25%, 25%)
HSVhsv(269, 40%, 31%)
CMYKcmyk(20.5%, 39.7%, 0%, 69.4%)
CIE-LABlab(22.33, 14.03, -16.52)
CIE-LCHlch(22.33, 21.67, 310.33°)
OKLaboklab(33.6% 0.033 -0.0457)
OKLCHoklch(33.6% 0.056 305.8)
XYZxyz(4.3780, 3.6072, 7.6719)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2F4E #3F4E2F
analogous
#2F304E #3E2F4E #4E2F4E
triadic
#3E2F4E #4E3E2F #2F4E3E
tetradic
#3E2F4E #4E2F30 #3F4E2F #2F4E4E
square
#3E2F4E #4E2F30 #3F4E2F #2F4E4E
split-complementary
#3E2F4E #4E4E2F #304E2F
monochromatic
#0F0C13 #201828 #3E2F4E #5C4674 #7B5D9A

Accessibility & contrast

On white

12.20
#3E2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3E2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2F4E
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2F4E#FFFFFF#000000##FFFFFF
##3E2F4E1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28354F
Deuteranopia (green-blind)
#2C354D
Tritanopia (blue-blind)
#3C343B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e2f4e;
/* rgb */ color: rgb(62, 47, 78);
/* oklch */ color: oklch(33.6% 0.056 305.8);
Tailwind
colors: {
  custom: {
    50: '#74677f',
    500: '#3e2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #3e2f4e;
$custom-light: #74677f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2f4e",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 269.032,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33599,
    "c": 0.05633,
    "h": 305.8
  },
  "luminance": 0.03607
}

Semantic roles & 50–950 ramp

primary
#3E2F4E
secondary
#6D7F5A
accent
#C16795
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08060A
muted
#7B7A7C

Preview Lab

Preview with #3E2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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