#4E2FBA#4E2FBA

#4E2FBA is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.8% C 0.203 H 284.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#4E2FBA
RGBrgb(78, 47, 186)
HSLhsl(253, 60%, 46%)
HSVhsv(253, 75%, 73%)
CMYKcmyk(58.1%, 74.7%, 0%, 27.1%)
CIE-LABlab(32.25, 49.76, -68.12)
CIE-LCHlch(32.25, 84.35, 306.15°)
OKLaboklab(43.8% 0.0509 -0.1962)
OKLCHoklch(43.8% 0.203 284.5)
XYZxyz(13.0186, 7.1971, 47.1480)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2FBA #9BBA2F
analogous
#2F55BA #4E2FBA #932FBA
triadic
#4E2FBA #BA4E2F #2FBA4E
tetradic
#4E2FBA #BA2F55 #9BBA2F #2FBA93
square
#4E2FBA #BA2F55 #9BBA2F #2FBA93
split-complementary
#4E2FBA #BA932F #55BA2F
monochromatic
#251658 #3A2389 #4E2FBA #6F53D3 #9884E0

Accessibility & contrast

On white

8.61
#4E2FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4E2FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2FBA
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2FBA#FFFFFF#000000##FFFFFF
##4E2FBA1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0047B7
Tritanopia (blue-blind)
#115672
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e2fba;
/* rgb */ color: rgb(78, 47, 186);
/* oklch */ color: oklch(43.8% 0.203 284.5);
Tailwind
colors: {
  custom: {
    50: '#8c6bd0',
    500: '#4e2fba',
    950: '#000000',
  },
}
SCSS
$custom: #4e2fba;
$custom-light: #8c6bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2fba",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 253.381,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43802,
    "c": 0.2027,
    "h": 284.5
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#4E2FBA
secondary
#B8C97C
accent
#E345C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E2FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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