#4E3460#4E3460

#4E3460 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.5% C 0.079 H 310.3°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#4E3460
RGBrgb(78, 52, 96)
HSLhsl(275, 30%, 29%)
HSVhsv(275, 46%, 38%)
CMYKcmyk(18.7%, 45.8%, 0%, 62.4%)
CIE-LABlab(26.51, 21.05, -21.72)
CIE-LCHlch(26.51, 30.25, 314.10°)
OKLaboklab(37.5% 0.0511 -0.0603)
OKLCHoklch(37.5% 0.079 310.3)
XYZxyz(6.4808, 4.9203, 11.6724)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3460 #466034
analogous
#383460 #4E3460 #60345C
triadic
#4E3460 #604E34 #34604E
tetradic
#4E3460 #603834 #466034 #345C60
square
#4E3460 #603834 #466034 #345C60
split-complementary
#4E3460 #5C6034 #346038
monochromatic
#100B14 #2E1E38 #4E3460 #6E4A88 #8E64AB

Accessibility & contrast

On white

10.58
#4E3460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4E3460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3460
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3460#FFFFFF#000000##FFFFFF
##4E34601.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D62
Deuteranopia (green-blind)
#313F5F
Tritanopia (blue-blind)
#4C3B45
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e3460;
/* rgb */ color: rgb(78, 52, 96);
/* oklch */ color: oklch(37.5% 0.079 310.3);
Tailwind
colors: {
  custom: {
    50: '#806c8d',
    500: '#4e3460',
    950: '#000000',
  },
}
SCSS
$custom: #4e3460;
$custom-light: #806c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3460",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 96
  },
  "hsl": {
    "h": 275.455,
    "s": 29.73,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37499,
    "c": 0.07903,
    "h": 310.3
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#4E3460
secondary
#73915F
accent
#C6628B
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A070C
muted
#7C7A7D

Preview Lab

Preview with #4E3460

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

Preview Lab → · Contrast checker → · Palette generator →

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