#3E294D#3E294D

#3E294D is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.3% C 0.067 H 309.9°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#3E294D
RGBrgb(62, 41, 77)
HSLhsl(275, 31%, 23%)
HSVhsv(275, 47%, 30%)
CMYKcmyk(19.5%, 46.8%, 0%, 69.8%)
CIE-LABlab(20.62, 17.78, -18.52)
CIE-LCHlch(20.62, 25.68, 313.84°)
OKLaboklab(32.29% 0.0431 -0.0514)
OKLCHoklch(32.29% 0.067 309.9)
XYZxyz(4.1189, 3.1459, 7.4100)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E294D #384D29
analogous
#2C294D #3E294D #4D294A
triadic
#3E294D #4D3E29 #294D3E
tetradic
#3E294D #4D2C29 #384D29 #294A4D
square
#3E294D #4D2C29 #384D29 #294A4D
split-complementary
#3E294D #4A4D29 #294D2C
monochromatic
#100B14 #1E1425 #3E294D #5E3E75 #7E549D

Accessibility & contrast

On white

12.89
#3E294D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3E294D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E294D
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E294D#FFFFFF#000000##FFFFFF
##3E294D1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21314E
Deuteranopia (green-blind)
#27324C
Tritanopia (blue-blind)
#3C2E37
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e294d;
/* rgb */ color: rgb(62, 41, 77);
/* oklch */ color: oklch(32.3% 0.067 309.9);
Tailwind
colors: {
  custom: {
    50: '#74637f',
    500: '#3e294d',
    950: '#000000',
  },
}
SCSS
$custom: #3e294d;
$custom-light: #74637f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e294d",
  "rgb": {
    "r": 62,
    "g": 41,
    "b": 77
  },
  "hsl": {
    "h": 275,
    "s": 30.508,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32289,
    "c": 0.06705,
    "h": 309.9
  },
  "luminance": 0.03146
}

Semantic roles & 50–950 ramp

primary
#3E294D
secondary
#657F52
accent
#C7618B
background
#F7F5F7
surface
#EDEAEE
border
#C8C6C9
text
#08050A
muted
#7B797C

Preview Lab

Preview with #3E294D

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

Preview Lab → · Contrast checker → · Palette generator →

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