#4E2095#4E2095

#4E2095 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.175 H 294.4°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#4E2095
RGBrgb(78, 32, 149)
HSLhsl(264, 65%, 35%)
HSVhsv(264, 79%, 58%)
CMYKcmyk(47.7%, 78.5%, 0%, 41.6%)
CIE-LABlab(26.22, 46.59, -55.70)
CIE-LCHlch(26.22, 72.62, 309.91°)
OKLaboklab(38.51% 0.0726 -0.1597)
OKLCHoklch(38.51% 0.175 294.4)
XYZxyz(9.0817, 4.8224, 28.8803)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2095 #679520
analogous
#202C95 #4E2095 #882095
triadic
#4E2095 #954E20 #20954E
tetradic
#4E2095 #95202C #679520 #209588
square
#4E2095 #95202C #679520 #209588
split-complementary
#4E2095 #958820 #2C9520
monochromatic
#190A30 #341563 #4E2095 #682BC7 #8955DA

Accessibility & contrast

On white

10.69
#4E2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4E2095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2095
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2095#FFFFFF#000000##FFFFFF
##4E20951.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#39405A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e2095;
/* rgb */ color: rgb(78, 32, 149);
/* oklch */ color: oklch(38.5% 0.175 294.4);
Tailwind
colors: {
  custom: {
    50: '#8761b5',
    500: '#4e2095',
    950: '#000000',
  },
}
SCSS
$custom: #4e2095;
$custom-light: #8761b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2095",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 263.59,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38511,
    "c": 0.17546,
    "h": 294.4
  },
  "luminance": 0.04823
}

Semantic roles & 50–950 ramp

primary
#4E2095
secondary
#94BE53
accent
#E840A6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4E2095

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

Preview Lab → · Contrast checker → · Palette generator →

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