#4E2692#4E2692

#4E2692 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.165 H 294.3°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#4E2692
RGBrgb(78, 38, 146)
HSLhsl(262, 59%, 36%)
HSVhsv(262, 74%, 57%)
CMYKcmyk(46.6%, 74%, 0%, 42.7%)
CIE-LABlab(26.96, 42.89, -52.64)
CIE-LCHlch(26.96, 67.90, 309.17°)
OKLaboklab(38.95% 0.0681 -0.1508)
OKLCHoklch(38.95% 0.165 294.3)
XYZxyz(9.0219, 5.0810, 27.6939)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2692 #6A9226
analogous
#263492 #4E2692 #842692
triadic
#4E2692 #924E26 #26924E
tetradic
#4E2692 #922634 #6A9226 #269284
square
#4E2692 #922634 #6A9226 #269284
split-complementary
#4E2692 #928426 #349226
monochromatic
#1A0D31 #341961 #4E2692 #6833C3 #8A5DD5

Accessibility & contrast

On white

10.42
#4E2692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4E2692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2692
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2692#FFFFFF#000000##FFFFFF
##4E26921.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#3A425A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e2692;
/* rgb */ color: rgb(78, 38, 146);
/* oklch */ color: oklch(38.9% 0.165 294.3);
Tailwind
colors: {
  custom: {
    50: '#8664b3',
    500: '#4e2692',
    950: '#000000',
  },
}
SCSS
$custom: #4e2692;
$custom-light: #8664b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2692",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 146
  },
  "hsl": {
    "h": 262.222,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38949,
    "c": 0.16546,
    "h": 294.3
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#4E2692
secondary
#96BA5A
accent
#E246A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2692

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

Preview Lab → · Contrast checker → · Palette generator →

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