#4E2BB0#4E2BB0

#4E2BB0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.195 H 286.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#4E2BB0
RGBrgb(78, 43, 176)
HSLhsl(256, 61%, 43%)
HSVhsv(256, 76%, 69%)
CMYKcmyk(55.7%, 75.6%, 0%, 31%)
CIE-LABlab(30.60, 48.87, -64.89)
CIE-LCHlch(30.60, 81.24, 306.98°)
OKLaboklab(42.35% 0.0564 -0.1868)
OKLCHoklch(42.35% 0.195 286.8)
XYZxyz(11.8399, 6.4814, 41.6930)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2BB0 #8DB02B
analogous
#2B4BB0 #4E2BB0 #902BB0
triadic
#4E2BB0 #B04E2B #2BB04E
tetradic
#4E2BB0 #B02B4B #8DB02B #2BB090
square
#4E2BB0 #B02B4B #8DB02B #2BB090
split-complementary
#4E2BB0 #B0902B #4BB02B
monochromatic
#22134E #381F7F #4E2BB0 #6B46D2 #9278DE

Accessibility & contrast

On white

9.14
#4E2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4E2BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2BB0
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2BB0#FFFFFF#000000##FFFFFF
##4E2BB01.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#22506C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e2bb0;
/* rgb */ color: rgb(78, 43, 176);
/* oklch */ color: oklch(42.4% 0.195 286.8);
Tailwind
colors: {
  custom: {
    50: '#8a68c9',
    500: '#4e2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #4e2bb0;
$custom-light: #8a68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2bb0",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 255.789,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4235,
    "c": 0.19508,
    "h": 286.8
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#4E2BB0
secondary
#AFC671
accent
#E444BA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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