#4E2BC3#4E2BC3

#4E2BC3 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.2% C 0.217 H 283.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#4E2BC3
RGBrgb(78, 43, 195)
HSLhsl(254, 64%, 47%)
HSVhsv(254, 78%, 76%)
CMYKcmyk(60%, 77.9%, 0%, 23.5%)
CIE-LABlab(32.45, 54.29, -73.09)
CIE-LCHlch(32.45, 91.05, 306.60°)
OKLaboklab(44.21% 0.0511 -0.2107)
OKLCHoklch(44.21% 0.217 283.6)
XYZxyz(13.8530, 7.2867, 52.2957)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2BC3 #A0C32B
analogous
#2B54C3 #4E2BC3 #9A2BC3
triadic
#4E2BC3 #C34E2B #2BC34E
tetradic
#4E2BC3 #C32B54 #A0C32B #2BC39A
square
#4E2BC3 #C32B54 #A0C32B #2BC39A
split-complementary
#4E2BC3 #C39A2B #54C32B
monochromatic
#26155F #3A2091 #4E2BC3 #7152D9 #9A84E4

Accessibility & contrast

On white

8.54
#4E2BC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4E2BC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2BC3
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2BC3#FFFFFF#000000##FFFFFF
##4E2BC31.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C7
Deuteranopia (green-blind)
#0047C0
Tritanopia (blue-blind)
#005877
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e2bc3;
/* rgb */ color: rgb(78, 43, 195);
/* oklch */ color: oklch(44.2% 0.217 283.6);
Tailwind
colors: {
  custom: {
    50: '#8e69d6',
    500: '#4e2bc3',
    950: '#000000',
  },
}
SCSS
$custom: #4e2bc3;
$custom-light: #8e69d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2bc3",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 195
  },
  "hsl": {
    "h": 253.816,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44206,
    "c": 0.21683,
    "h": 283.6
  },
  "luminance": 0.07288
}

Semantic roles & 50–950 ramp

primary
#4E2BC3
secondary
#BBCD7D
accent
#E741C1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4E2BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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