#3E304C#3E304C

#3E304C is a dark, muted violet. Relative luminance 0.037; OKLCH L 33.7% C 0.051 H 306.7°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#3E304C
RGBrgb(62, 48, 76)
HSLhsl(270, 23%, 24%)
HSVhsv(270, 37%, 30%)
CMYKcmyk(18.4%, 36.8%, 0%, 70.2%)
CIE-LABlab(22.51, 12.81, -14.90)
CIE-LCHlch(22.51, 19.65, 310.70°)
OKLaboklab(33.71% 0.0306 -0.041)
OKLCHoklch(33.71% 0.051 306.7)
XYZxyz(4.3478, 3.6599, 7.3135)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E304C #3E4C30
analogous
#30304C #3E304C #4C304C
triadic
#3E304C #4C3E30 #304C3E
tetradic
#3E304C #4C3030 #3E4C30 #304C4C
square
#3E304C #4C3030 #3E4C30 #304C4C
split-complementary
#3E304C #4C4C30 #304C30
monochromatic
#0F0C13 #1F1826 #3E304C #5D4872 #7B5F97

Accessibility & contrast

On white

12.12
#3E304C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E304C
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E304C#FFFFFF#000000##FFFFFF
##3E304C1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e304c;
/* rgb */ color: rgb(62, 48, 76);
/* oklch */ color: oklch(33.7% 0.051 306.7);
Tailwind
colors: {
  custom: {
    50: '#73687e',
    500: '#3e304c',
    950: '#000000',
  },
}
SCSS
$custom: #3e304c;
$custom-light: #73687e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e304c",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 76
  },
  "hsl": {
    "h": 270,
    "s": 22.581,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33707,
    "c": 0.05121,
    "h": 306.7
  },
  "luminance": 0.0366
}

Semantic roles & 50–950 ramp

primary
#3E304C
secondary
#6C7D5B
accent
#BF6994
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08060A
muted
#7B7A7C

Preview Lab

Preview with #3E304C

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

Preview Lab → · Contrast checker → · Palette generator →

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