#4E2090#4E2090

#4E2090 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.170 H 295.8°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#4E2090
RGBrgb(78, 32, 144)
HSLhsl(265, 64%, 35%)
HSVhsv(265, 78%, 56%)
CMYKcmyk(45.8%, 77.8%, 0%, 43.5%)
CIE-LABlab(25.76, 45.25, -53.37)
CIE-LCHlch(25.76, 69.97, 310.29°)
OKLaboklab(38.05% 0.074 -0.1529)
OKLCHoklch(38.05% 0.17 295.8)
XYZxyz(8.6911, 4.6661, 26.8229)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2090 #629020
analogous
#202A90 #4E2090 #862090
triadic
#4E2090 #904E20 #20904E
tetradic
#4E2090 #90202A #629020 #209086
square
#4E2090 #90202A #629020 #209086
split-complementary
#4E2090 #908620 #2A9020
monochromatic
#180A2C #33155E #4E2090 #692BC2 #8952D9

Accessibility & contrast

On white

10.86
#4E2090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4E2090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2090
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2090#FFFFFF#000000##FFFFFF
##4E20901.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#3C3E57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2090;
/* rgb */ color: rgb(78, 32, 144);
/* oklch */ color: oklch(38.0% 0.170 295.8);
Tailwind
colors: {
  custom: {
    50: '#8661b1',
    500: '#4e2090',
    950: '#000000',
  },
}
SCSS
$custom: #4e2090;
$custom-light: #8661b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2090",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 264.643,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38047,
    "c": 0.16988,
    "h": 295.8
  },
  "luminance": 0.04666
}

Semantic roles & 50–950 ramp

primary
#4E2090
secondary
#90BC50
accent
#E741A3
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4E2090

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

Preview Lab → · Contrast checker → · Palette generator →

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