#3E2F54#3E2F54

#3E2F54 is a dark, moderate violet. Relative luminance 0.037; OKLCH L 33.9% C 0.066 H 301.7°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#3E2F54
RGBrgb(62, 47, 84)
HSLhsl(264, 28%, 26%)
HSVhsv(264, 44%, 33%)
CMYKcmyk(26.2%, 44%, 0%, 67.1%)
CIE-LABlab(22.64, 15.68, -20.03)
CIE-LCHlch(22.64, 25.44, 308.06°)
OKLaboklab(33.94% 0.0345 -0.0558)
OKLCHoklch(33.94% 0.066 301.7)
XYZxyz(4.6030, 3.6973, 8.8569)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2F54 #45542F
analogous
#2F3254 #3E2F54 #502F54
triadic
#3E2F54 #543E2F #2F543E
tetradic
#3E2F54 #542F32 #45542F #2F5450
square
#3E2F54 #542F32 #45542F #2F5450
split-complementary
#3E2F54 #54502F #32542F
monochromatic
#0E0B14 #21192D #3E2F54 #5B457B #785BA2

Accessibility & contrast

On white

12.07
#3E2F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3E2F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2F54
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2F54#FFFFFF#000000##FFFFFF
##3E2F541.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263655
Deuteranopia (green-blind)
#293653
Tritanopia (blue-blind)
#3A353D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e2f54;
/* rgb */ color: rgb(62, 47, 84);
/* oklch */ color: oklch(33.9% 0.066 301.7);
Tailwind
colors: {
  custom: {
    50: '#746784',
    500: '#3e2f54',
    950: '#000000',
  },
}
SCSS
$custom: #3e2f54;
$custom-light: #746784;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2f54",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 84
  },
  "hsl": {
    "h": 264.324,
    "s": 28.244,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33942,
    "c": 0.06557,
    "h": 301.7
  },
  "luminance": 0.03697
}

Semantic roles & 50–950 ramp

primary
#3E2F54
secondary
#748559
accent
#C5639D
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08060B
muted
#7B7A7C

Preview Lab

Preview with #3E2F54

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

Preview Lab → · Contrast checker → · Palette generator →

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