#4E2BCA#4E2BCA

#4E2BCA is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.9% C 0.225 H 282.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4E2BCA
RGBrgb(78, 43, 202)
HSLhsl(253, 65%, 48%)
HSVhsv(253, 79%, 79%)
CMYKcmyk(61.4%, 78.7%, 0%, 20.8%)
CIE-LABlab(33.16, 56.27, -76.02)
CIE-LCHlch(33.16, 94.58, 306.51°)
OKLaboklab(44.91% 0.0491 -0.2192)
OKLCHoklch(44.91% 0.225 282.6)
XYZxyz(14.6631, 7.6107, 56.5620)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2BCA #A7CA2B
analogous
#2B57CA #4E2BCA #9E2BCA
triadic
#4E2BCA #CA4E2B #2BCA4E
tetradic
#4E2BCA #CA2B57 #A7CA2B #2BCA9E
square
#4E2BCA #CA2B57 #A7CA2B #2BCA9E
split-complementary
#4E2BCA #CA9E2B #57CA2B
monochromatic
#271665 #3B2098 #4E2BCA #7457DB #9E89E6

Accessibility & contrast

On white

8.33
#4E2BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4E2BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2BCA
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2BCA#FFFFFF#000000##FFFFFF
##4E2BCA1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CE
Deuteranopia (green-blind)
#0048C7
Tritanopia (blue-blind)
#005B7B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e2bca;
/* rgb */ color: rgb(78, 43, 202);
/* oklch */ color: oklch(44.9% 0.225 282.6);
Tailwind
colors: {
  custom: {
    50: '#8f6adc',
    500: '#4e2bca',
    950: '#000000',
  },
}
SCSS
$custom: #4e2bca;
$custom-light: #8f6adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2bca",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 253.208,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4491,
    "c": 0.22468,
    "h": 282.6
  },
  "luminance": 0.07612
}

Semantic roles & 50–950 ramp

primary
#4E2BCA
secondary
#BED081
accent
#E840C3
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4E2BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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