#4E1E9F#4E1E9F

#4E1E9F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.188 H 292.1°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#4E1E9F
RGBrgb(78, 30, 159)
HSLhsl(262, 68%, 37%)
HSVhsv(262, 81%, 62%)
CMYKcmyk(50.9%, 81.1%, 0%, 37.6%)
CIE-LABlab(26.88, 50.13, -60.75)
CIE-LCHlch(26.88, 78.76, 309.53°)
OKLaboklab(39.26% 0.0709 -0.1745)
OKLCHoklch(39.26% 0.188 292.1)
XYZxyz(9.8624, 5.0511, 33.2495)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E9F #6F9F1E
analogous
#1E2E9F #4E1E9F #8F1E9F
triadic
#4E1E9F #9F4E1E #1E9F4E
tetradic
#4E1E9F #9F1E2E #6F9F1E #1E9F8F
square
#4E1E9F #9F1E2E #6F9F1E #1E9F8F
split-complementary
#4E1E9F #9F8F1E #2E9F1E
monochromatic
#1B0B38 #35146C #4E1E9F #6728D2 #8A58DF

Accessibility & contrast

On white

10.45
#4E1E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4E1E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E9F
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E9F#FFFFFF#000000##FFFFFF
##4E1E9F1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#33445F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e1e9f;
/* rgb */ color: rgb(78, 30, 159);
/* oklch */ color: oklch(39.3% 0.188 292.1);
Tailwind
colors: {
  custom: {
    50: '#8961bd',
    500: '#4e1e9f',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e9f;
$custom-light: #8961bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e9f",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 262.326,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39259,
    "c": 0.18838,
    "h": 292.1
  },
  "luminance": 0.05051
}

Semantic roles & 50–950 ramp

primary
#4E1E9F
secondary
#9AC356
accent
#EB3DAA
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0D0512
muted
#7D7981

Preview Lab

Preview with #4E1E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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