#4E2F92#4E2F92

#4E2F92 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.154 H 292.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#4E2F92
RGBrgb(78, 47, 146)
HSLhsl(259, 51%, 38%)
HSVhsv(259, 68%, 57%)
CMYKcmyk(46.6%, 67.8%, 0%, 42.7%)
CIE-LABlab(28.72, 38.04, -49.79)
CIE-LCHlch(28.72, 62.65, 307.38°)
OKLaboklab(40.2% 0.0589 -0.1425)
OKLCHoklch(40.2% 0.154 292.5)
XYZxyz(9.3453, 5.7278, 27.8017)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F92 #73922F
analogous
#2F4192 #4E2F92 #7F2F92
triadic
#4E2F92 #924E2F #2F924E
tetradic
#4E2F92 #922F41 #73922F #2F927F
square
#4E2F92 #922F41 #73922F #2F927F
split-complementary
#4E2F92 #927F2F #41922F
monochromatic
#1D1135 #352064 #4E2F92 #673EC0 #8B6CD0

Accessibility & contrast

On white

9.79
#4E2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4E2F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F92
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F92#FFFFFF#000000##FFFFFF
##4E2F921.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#3A475C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e2f92;
/* rgb */ color: rgb(78, 47, 146);
/* oklch */ color: oklch(40.2% 0.154 292.5);
Tailwind
colors: {
  custom: {
    50: '#866ab3',
    500: '#4e2f92',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f92;
$custom-light: #866ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f92",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 258.788,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40199,
    "c": 0.15416,
    "h": 292.5
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#4E2F92
secondary
#9EB766
accent
#DB4DAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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