#4E2FB0#4E2FB0

#4E2FB0 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.191 H 286.2°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#4E2FB0
RGBrgb(78, 47, 176)
HSLhsl(254, 58%, 44%)
HSVhsv(254, 73%, 69%)
CMYKcmyk(55.7%, 73.3%, 0%, 31%)
CIE-LABlab(31.32, 46.83, -63.71)
CIE-LCHlch(31.32, 79.07, 306.32°)
OKLaboklab(42.86% 0.0533 -0.1833)
OKLCHoklch(42.86% 0.191 286.2)
XYZxyz(11.9925, 6.7867, 41.7439)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2FB0 #91B02F
analogous
#2F50B0 #4E2FB0 #8E2FB0
triadic
#4E2FB0 #B04E2F #2FB04E
tetradic
#4E2FB0 #B02F50 #91B02F #2FB08E
square
#4E2FB0 #B02F50 #91B02F #2FB08E
split-complementary
#4E2FB0 #B08E2F #50B02F
monochromatic
#23154F #392280 #4E2FB0 #6C4DCF #947DDC

Accessibility & contrast

On white

8.91
#4E2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E2FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2FB0
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2FB0#FFFFFF#000000##FFFFFF
##4E2FB01.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#22526D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e2fb0;
/* rgb */ color: rgb(78, 47, 176);
/* oklch */ color: oklch(42.9% 0.191 286.2);
Tailwind
colors: {
  custom: {
    50: '#8a6bc9',
    500: '#4e2fb0',
    950: '#000000',
  },
}
SCSS
$custom: #4e2fb0;
$custom-light: #8a6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2fb0",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 254.419,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42858,
    "c": 0.1909,
    "h": 286.2
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#4E2FB0
secondary
#B2C576
accent
#E147BC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E2FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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