#3E2B4C#3E2B4C

#3E2B4C is a dark, moderate violet. Relative luminance 0.033; OKLCH L 32.6% C 0.062 H 309.8°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#3E2B4C
RGBrgb(62, 43, 76)
HSLhsl(275, 28%, 23%)
HSVhsv(275, 43%, 30%)
CMYKcmyk(18.4%, 43.4%, 0%, 70.2%)
CIE-LABlab(21.11, 16.18, -17.08)
CIE-LCHlch(21.11, 23.53, 313.46°)
OKLaboklab(32.64% 0.0394 -0.0473)
OKLCHoklch(32.64% 0.062 309.8)
XYZxyz(4.1548, 3.2737, 7.2491)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B4C #394C2B
analogous
#2D2B4C #3E2B4C #4C2B49
triadic
#3E2B4C #4C3E2B #2B4C3E
tetradic
#3E2B4C #4C2D2B #394C2B #2B494C
square
#3E2B4C #4C2D2B #394C2B #2B494C
split-complementary
#3E2B4C #494C2B #2B4C2D
monochromatic
#100B14 #1E1525 #3E2B4C #5E4173 #7E579A

Accessibility & contrast

On white

12.69
#3E2B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#3E2B4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2B4C
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2B4C#FFFFFF#000000##FFFFFF
##3E2B4C1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24324D
Deuteranopia (green-blind)
#29334B
Tritanopia (blue-blind)
#3C3038
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3e2b4c;
/* rgb */ color: rgb(62, 43, 76);
/* oklch */ color: oklch(32.6% 0.062 309.8);
Tailwind
colors: {
  custom: {
    50: '#74647e',
    500: '#3e2b4c',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b4c;
$custom-light: #74647e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b4c",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 76
  },
  "hsl": {
    "h": 274.545,
    "s": 27.731,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32641,
    "c": 0.06151,
    "h": 309.8
  },
  "luminance": 0.03274
}

Semantic roles & 50–950 ramp

primary
#3E2B4C
secondary
#667E55
accent
#C4648D
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08050A
muted
#7B7A7C

Preview Lab

Preview with #3E2B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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