#3E304B#3E304B

#3E304B is a dark, muted violet. Relative luminance 0.036; OKLCH L 33.7% C 0.050 H 307.6°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#3E304B
RGBrgb(62, 48, 75)
HSLhsl(271, 22%, 24%)
HSVhsv(271, 36%, 29%)
CMYKcmyk(17.3%, 36%, 0%, 70.6%)
CIE-LABlab(22.47, 12.55, -14.30)
CIE-LCHlch(22.47, 19.02, 311.26°)
OKLaboklab(33.65% 0.0303 -0.0393)
OKLCHoklch(33.65% 0.05 307.6)
XYZxyz(4.3133, 3.6461, 7.1318)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E304B #3D4B30
analogous
#31304B #3E304B #4B304B
triadic
#3E304B #4B3E30 #304B3E
tetradic
#3E304B #4B3130 #3D4B30 #304B4B
square
#3E304B #4B3130 #3D4B30 #304B4B
split-complementary
#3E304B #4B4B30 #304B31
monochromatic
#0F0C13 #1F1826 #3E304B #5D4870 #7C6096

Accessibility & contrast

On white

12.14
#3E304B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E304B
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E304B#FFFFFF#000000##FFFFFF
##3E304B1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B354C
Deuteranopia (green-blind)
#2E364A
Tritanopia (blue-blind)
#3C343A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e304b;
/* rgb */ color: rgb(62, 48, 75);
/* oklch */ color: oklch(33.7% 0.050 307.6);
Tailwind
colors: {
  custom: {
    50: '#73687d',
    500: '#3e304b',
    950: '#000000',
  },
}
SCSS
$custom: #3e304b;
$custom-light: #73687d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e304b",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 75
  },
  "hsl": {
    "h": 271.111,
    "s": 21.951,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33654,
    "c": 0.04967,
    "h": 307.6
  },
  "luminance": 0.03646
}

Semantic roles & 50–950 ramp

primary
#3E304B
secondary
#6B7C5B
accent
#BE6992
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#080609
muted
#7B7A7B

Preview Lab

Preview with #3E304B

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

Preview Lab → · Contrast checker → · Palette generator →

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