#4E2BC0#4E2BC0

#4E2BC0 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.9% C 0.213 H 284.1°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#4E2BC0
RGBrgb(78, 43, 192)
HSLhsl(254, 63%, 46%)
HSVhsv(254, 78%, 75%)
CMYKcmyk(59.4%, 77.6%, 0%, 24.7%)
CIE-LABlab(32.15, 53.44, -71.82)
CIE-LCHlch(32.15, 89.52, 306.65°)
OKLaboklab(43.91% 0.052 -0.207)
OKLCHoklch(43.91% 0.213 284.1)
XYZxyz(13.5173, 7.1523, 50.5272)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2BC0 #9DC02B
analogous
#2B52C0 #4E2BC0 #982BC0
triadic
#4E2BC0 #C04E2B #2BC04E
tetradic
#4E2BC0 #C02B52 #9DC02B #2BC098
square
#4E2BC0 #C02B52 #9DC02B #2BC098
split-complementary
#4E2BC0 #C0982B #52C02B
monochromatic
#25155C #3A208E #4E2BC0 #7050D8 #9982E3

Accessibility & contrast

On white

8.64
#4E2BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E2BC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2BC0
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2BC0#FFFFFF#000000##FFFFFF
##4E2BC01.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C4
Deuteranopia (green-blind)
#0047BD
Tritanopia (blue-blind)
#005775
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e2bc0;
/* rgb */ color: rgb(78, 43, 192);
/* oklch */ color: oklch(43.9% 0.213 284.1);
Tailwind
colors: {
  custom: {
    50: '#8d69d4',
    500: '#4e2bc0',
    950: '#000000',
  },
}
SCSS
$custom: #4e2bc0;
$custom-light: #8d69d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2bc0",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 254.094,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43908,
    "c": 0.21343,
    "h": 284.1
  },
  "luminance": 0.07153
}

Semantic roles & 50–950 ramp

primary
#4E2BC0
secondary
#B9CC7B
accent
#E641C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4E2BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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