#4E2BC2#4E2BC2

#4E2BC2 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.1% C 0.216 H 283.8°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#4E2BC2
RGBrgb(78, 43, 194)
HSLhsl(254, 64%, 46%)
HSVhsv(254, 78%, 76%)
CMYKcmyk(59.8%, 77.8%, 0%, 23.9%)
CIE-LABlab(32.35, 54.01, -72.67)
CIE-LCHlch(32.35, 90.54, 306.62°)
OKLaboklab(44.11% 0.0514 -0.2095)
OKLCHoklch(44.11% 0.216 283.8)
XYZxyz(13.7404, 7.2416, 51.7022)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2BC2 #9FC22B
analogous
#2B54C2 #4E2BC2 #9A2BC2
triadic
#4E2BC2 #C24E2B #2BC24E
tetradic
#4E2BC2 #C22B54 #9FC22B #2BC29A
square
#4E2BC2 #C22B54 #9FC22B #2BC29A
split-complementary
#4E2BC2 #C29A2B #54C22B
monochromatic
#26155E #3A2090 #4E2BC2 #7152D9 #9A84E4

Accessibility & contrast

On white

8.58
#4E2BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4E2BC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2BC2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2BC2#FFFFFF#000000##FFFFFF
##4E2BC21.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C6
Deuteranopia (green-blind)
#0047BF
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e2bc2;
/* rgb */ color: rgb(78, 43, 194);
/* oklch */ color: oklch(44.1% 0.216 283.8);
Tailwind
colors: {
  custom: {
    50: '#8d69d6',
    500: '#4e2bc2',
    950: '#000000',
  },
}
SCSS
$custom: #4e2bc2;
$custom-light: #8d69d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2bc2",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 253.907,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44106,
    "c": 0.2157,
    "h": 283.8
  },
  "luminance": 0.07242
}

Semantic roles & 50–950 ramp

primary
#4E2BC2
secondary
#BACD7C
accent
#E741C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4E2BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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