#4E2BE2#4E2BE2

#4E2BE2 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.4% C 0.251 H 279.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#4E2BE2
RGBrgb(78, 43, 226)
HSLhsl(251, 76%, 53%)
HSVhsv(251, 81%, 89%)
CMYKcmyk(65.5%, 81%, 0%, 11.4%)
CIE-LABlab(35.67, 62.97, -85.73)
CIE-LCHlch(35.67, 106.37, 306.30°)
OKLaboklab(47.39% 0.0419 -0.2475)
OKLCHoklch(47.39% 0.251 279.6)
XYZxyz(17.7288, 8.8370, 72.7082)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2BE2 #BFE22B
analogous
#2B64E2 #4E2BE2 #A92BE2
triadic
#4E2BE2 #E24E2B #2BE24E
tetradic
#4E2BE2 #E22B64 #BFE22B #2BE2A9
square
#4E2BE2 #E22B64 #BFE22B #2BE2A9
split-complementary
#4E2BE2 #E2A92B #64E22B
monochromatic
#271281 #3719B7 #4E2BE2 #7B61E9 #A897F1

Accessibility & contrast

On white

7.59
#4E2BE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4E2BE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2BE2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2BE2#FFFFFF#000000##FFFFFF
##4E2BE21.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE7
Deuteranopia (green-blind)
#004DDF
Tritanopia (blue-blind)
#006489
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e2be2;
/* rgb */ color: rgb(78, 43, 226);
/* oklch */ color: oklch(47.4% 0.251 279.6);
Tailwind
colors: {
  custom: {
    50: '#936bed',
    500: '#4e2be2',
    950: '#000000',
  },
}
SCSS
$custom: #4e2be2;
$custom-light: #936bed;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2be2",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 226
  },
  "hsl": {
    "h": 251.475,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47387,
    "c": 0.25104,
    "h": 279.6
  },
  "luminance": 0.08838
}

Semantic roles & 50–950 ramp

primary
#4E2BE2
secondary
#CDDC8D
accent
#F335CE
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #4E2BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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