#4E3685#4E3685

#4E3685 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.3% C 0.127 H 294.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#4E3685
RGBrgb(78, 54, 133)
HSLhsl(258, 42%, 37%)
HSVhsv(258, 59%, 52%)
CMYKcmyk(41.4%, 59.4%, 0%, 47.8%)
CIE-LABlab(29.29, 30.07, -40.81)
CIE-LCHlch(29.29, 50.69, 306.38°)
OKLaboklab(40.31% 0.0516 -0.1161)
OKLCHoklch(40.31% 0.127 294)
XYZxyz(8.6936, 5.9513, 22.8764)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3685 #6D8536
analogous
#364685 #4E3685 #763685
triadic
#4E3685 #854E36 #36854E
tetradic
#4E3685 #853646 #6D8536 #368576
square
#4E3685 #853646 #6D8536 #368576
split-complementary
#4E3685 #857636 #468536
monochromatic
#1B132E #342459 #4E3685 #6848B1 #8A70C5

Accessibility & contrast

On white

9.59
#4E3685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4E3685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3685
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3685#FFFFFF#000000##FFFFFF
##4E36851.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084688
Deuteranopia (green-blind)
#124483
Tritanopia (blue-blind)
#404758
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e3685;
/* rgb */ color: rgb(78, 54, 133);
/* oklch */ color: oklch(40.3% 0.127 294.0);
Tailwind
colors: {
  custom: {
    50: '#836ea9',
    500: '#4e3685',
    950: '#000000',
  },
}
SCSS
$custom: #4e3685;
$custom-light: #836ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3685",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 133
  },
  "hsl": {
    "h": 258.228,
    "s": 42.246,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40306,
    "c": 0.12701,
    "h": 294
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#4E3685
secondary
#99AE69
accent
#D256AC
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3685

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

Preview Lab → · Contrast checker → · Palette generator →

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