#4E2E92#4E2E92

#4E2E92 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.155 H 292.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#4E2E92
RGBrgb(78, 46, 146)
HSLhsl(259, 52%, 38%)
HSVhsv(259, 68%, 57%)
CMYKcmyk(46.6%, 68.5%, 0%, 42.7%)
CIE-LABlab(28.51, 38.60, -50.12)
CIE-LCHlch(28.51, 63.27, 307.60°)
OKLaboklab(40.05% 0.06 -0.1434)
OKLCHoklch(40.05% 0.155 292.7)
XYZxyz(9.3058, 5.6487, 27.7886)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E92 #72922E
analogous
#2E4092 #4E2E92 #802E92
triadic
#4E2E92 #924E2E #2E924E
tetradic
#4E2E92 #922E40 #72922E #2E9280
square
#4E2E92 #922E40 #72922E #2E9280
split-complementary
#4E2E92 #92802E #40922E
monochromatic
#1C1135 #351F63 #4E2E92 #673DC1 #8B6AD0

Accessibility & contrast

On white

9.86
#4E2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4E2E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E92
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E92#FFFFFF#000000##FFFFFF
##4E2E921.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#3A465C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e2e92;
/* rgb */ color: rgb(78, 46, 146);
/* oklch */ color: oklch(40.1% 0.155 292.7);
Tailwind
colors: {
  custom: {
    50: '#8669b3',
    500: '#4e2e92',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e92;
$custom-light: #8669b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e92",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 259.2,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4005,
    "c": 0.15548,
    "h": 292.7
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#4E2E92
secondary
#9DB765
accent
#DC4CAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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