#4E3461#4E3461

#4E3461 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.6% C 0.080 H 309.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#4E3461
RGBrgb(78, 52, 97)
HSLhsl(275, 30%, 29%)
HSVhsv(275, 46%, 38%)
CMYKcmyk(19.6%, 46.4%, 0%, 62%)
CIE-LABlab(26.56, 21.31, -22.29)
CIE-LCHlch(26.56, 30.83, 313.71°)
OKLaboklab(37.56% 0.0513 -0.0619)
OKLCHoklch(37.56% 0.08 309.6)
XYZxyz(6.5271, 4.9388, 11.9164)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3461 #476134
analogous
#383461 #4E3461 #61345E
triadic
#4E3461 #614E34 #34614E
tetradic
#4E3461 #613834 #476134 #345E61
square
#4E3461 #613834 #476134 #345E61
split-complementary
#4E3461 #5E6134 #346138
monochromatic
#100B14 #2E1F39 #4E3461 #6E4989 #8D64AC

Accessibility & contrast

On white

10.56
#4E3461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4E3461 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3461
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3461#FFFFFF#000000##FFFFFF
##4E34611.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3E63
Deuteranopia (green-blind)
#313F60
Tritanopia (blue-blind)
#4C3B46
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e3461;
/* rgb */ color: rgb(78, 52, 97);
/* oklch */ color: oklch(37.6% 0.080 309.6);
Tailwind
colors: {
  custom: {
    50: '#806c8e',
    500: '#4e3461',
    950: '#000000',
  },
}
SCSS
$custom: #4e3461;
$custom-light: #806c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3461",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 97
  },
  "hsl": {
    "h": 274.667,
    "s": 30.201,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37556,
    "c": 0.08041,
    "h": 309.6
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#4E3461
secondary
#74925F
accent
#C6618C
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A070C
muted
#7C7A7D

Preview Lab

Preview with #4E3461

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

Preview Lab → · Contrast checker → · Palette generator →

#4E3461 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva