#4E2390#4E2390

#4E2390 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.167 H 295.4°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#4E2390
RGBrgb(78, 35, 144)
HSLhsl(264, 61%, 35%)
HSVhsv(264, 76%, 56%)
CMYKcmyk(45.8%, 75.7%, 0%, 43.5%)
CIE-LABlab(26.26, 43.83, -52.56)
CIE-LCHlch(26.26, 68.44, 309.83°)
OKLaboklab(38.4% 0.0713 -0.1505)
OKLCHoklch(38.4% 0.167 295.4)
XYZxyz(8.7756, 4.8352, 26.8511)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2390 #659023
analogous
#232E90 #4E2390 #852390
triadic
#4E2390 #904E23 #23904E
tetradic
#4E2390 #90232E #659023 #239085
square
#4E2390 #90232E #659023 #239085
split-complementary
#4E2390 #908523 #2E9023
monochromatic
#190B2E #33175F #4E2390 #692FC1 #8957D6

Accessibility & contrast

On white

10.68
#4E2390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4E2390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2390
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2390#FFFFFF#000000##FFFFFF
##4E23901.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#3C4058
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e2390;
/* rgb */ color: rgb(78, 35, 144);
/* oklch */ color: oklch(38.4% 0.167 295.4);
Tailwind
colors: {
  custom: {
    50: '#8662b1',
    500: '#4e2390',
    950: '#000000',
  },
}
SCSS
$custom: #4e2390;
$custom-light: #8662b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2390",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 263.67,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38397,
    "c": 0.16659,
    "h": 295.4
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

primary
#4E2390
secondary
#92BA54
accent
#E444A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4E2390

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

Preview Lab → · Contrast checker → · Palette generator →

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