#3E304A#3E304A

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

Color values

HEX#3E304A
RGBrgb(62, 48, 74)
HSLhsl(272, 21%, 24%)
HSVhsv(272, 35%, 29%)
CMYKcmyk(16.2%, 35.1%, 0%, 71%)
CIE-LABlab(22.42, 12.28, -13.70)
CIE-LCHlch(22.42, 18.40, 311.87°)
OKLaboklab(33.6% 0.03 -0.0376)
OKLCHoklch(33.6% 0.048 308.6)
XYZxyz(4.2794, 3.6325, 6.9529)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E304A #3C4A30
analogous
#31304A #3E304A #4A3049
triadic
#3E304A #4A3E30 #304A3E
tetradic
#3E304A #4A3130 #3C4A30 #30494A
square
#3E304A #4A3130 #3C4A30 #30494A
split-complementary
#3E304A #494A30 #304A31
monochromatic
#100C13 #1F1825 #3E304A #5D486F #7C6094

Accessibility & contrast

On white

12.16
#3E304A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3E304A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E304A
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E304A#FFFFFF#000000##FFFFFF
##3E304A1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B354B
Deuteranopia (green-blind)
#2E3649
Tritanopia (blue-blind)
#3D3439
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e304a;
/* rgb */ color: rgb(62, 48, 74);
/* oklch */ color: oklch(33.6% 0.048 308.6);
Tailwind
colors: {
  custom: {
    50: '#73687c',
    500: '#3e304a',
    950: '#000000',
  },
}
SCSS
$custom: #3e304a;
$custom-light: #73687c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e304a",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 74
  },
  "hsl": {
    "h": 272.308,
    "s": 21.311,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33602,
    "c": 0.04815,
    "h": 308.6
  },
  "luminance": 0.03632
}

Semantic roles & 50–950 ramp

primary
#3E304A
secondary
#6A7B5B
accent
#BE6A91
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#080609
muted
#7B7A7B

Preview Lab

Preview with #3E304A

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

Preview Lab → · Contrast checker → · Palette generator →

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