#4E3969#4E3969

#4E3969 is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.0% C 0.082 H 303.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#4E3969
RGBrgb(78, 57, 105)
HSLhsl(266, 30%, 32%)
HSVhsv(266, 46%, 41%)
CMYKcmyk(25.7%, 45.7%, 0%, 58.8%)
CIE-LABlab(28.29, 20.21, -24.73)
CIE-LCHlch(28.29, 31.93, 309.26°)
OKLaboklab(39% 0.0448 -0.069)
OKLCHoklch(39% 0.082 303)
XYZxyz(7.1543, 5.5659, 14.0593)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3969 #546939
analogous
#393C69 #4E3969 #663969
triadic
#4E3969 #694E39 #39694E
tetradic
#4E3969 #69393C #546939 #396966
square
#4E3969 #69393C #546939 #396966
split-complementary
#4E3969 #696639 #3C6939
monochromatic
#130E1A #312341 #4E3969 #6B4F91 #8A6DB0

Accessibility & contrast

On white

9.94
#4E3969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4E3969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3969
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3969#FFFFFF#000000##FFFFFF
##4E39691.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D426B
Deuteranopia (green-blind)
#314368
Tritanopia (blue-blind)
#49414C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e3969;
/* rgb */ color: rgb(78, 57, 105);
/* oklch */ color: oklch(39.0% 0.082 303.0);
Tailwind
colors: {
  custom: {
    50: '#816f94',
    500: '#4e3969',
    950: '#000000',
  },
}
SCSS
$custom: #4e3969;
$custom-light: #816f94;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3969",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 105
  },
  "hsl": {
    "h": 266.25,
    "s": 29.63,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38998,
    "c": 0.08226,
    "h": 303
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#4E3969
secondary
#829965
accent
#C6629A
background
#F7F6F9
surface
#EEECF1
border
#C9C7CB
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E3969

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

Preview Lab → · Contrast checker → · Palette generator →

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