#4E2C90#4E2C90

#4E2C90 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.156 H 293.6°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#4E2C90
RGBrgb(78, 44, 144)
HSLhsl(260, 53%, 37%)
HSVhsv(260, 69%, 56%)
CMYKcmyk(45.8%, 69.4%, 0%, 43.5%)
CIE-LABlab(27.94, 39.14, -49.82)
CIE-LCHlch(27.94, 63.36, 308.16°)
OKLaboklab(39.59% 0.0624 -0.1425)
OKLCHoklch(39.59% 0.156 293.6)
XYZxyz(9.0752, 5.4344, 26.9509)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2C90 #6E902C
analogous
#2C3C90 #4E2C90 #802C90
triadic
#4E2C90 #904E2C #2C904E
tetradic
#4E2C90 #902C3C #6E902C #2C9080
square
#4E2C90 #902C3C #6E902C #2C9080
split-complementary
#4E2C90 #90802C #3C902C
monochromatic
#1B0F32 #351E61 #4E2C90 #673ABF #8A66D0

Accessibility & contrast

On white

10.06
#4E2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4E2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2C90
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2C90#FFFFFF#000000##FFFFFF
##4E2C901.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#3B445A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e2c90;
/* rgb */ color: rgb(78, 44, 144);
/* oklch */ color: oklch(39.6% 0.156 293.6);
Tailwind
colors: {
  custom: {
    50: '#8668b1',
    500: '#4e2c90',
    950: '#000000',
  },
}
SCSS
$custom: #4e2c90;
$custom-light: #8668b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2c90",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 260.4,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3959,
    "c": 0.1556,
    "h": 293.6
  },
  "luminance": 0.05435
}

Semantic roles & 50–950 ramp

primary
#4E2C90
secondary
#9AB761
accent
#DD4BAB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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