#4E2FBC#4E2FBC

#4E2FBC is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.0% C 0.205 H 284.2°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#4E2FBC
RGBrgb(78, 47, 188)
HSLhsl(253, 60%, 46%)
HSVhsv(253, 75%, 74%)
CMYKcmyk(58.5%, 75%, 0%, 26.3%)
CIE-LABlab(32.44, 50.34, -68.98)
CIE-LCHlch(32.44, 85.40, 306.12°)
OKLaboklab(43.99% 0.0504 -0.1987)
OKLCHoklch(43.99% 0.205 284.2)
XYZxyz(13.2327, 7.2827, 48.2756)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2FBC #9DBC2F
analogous
#2F57BC #4E2FBC #942FBC
triadic
#4E2FBC #BC4E2F #2FBC4E
tetradic
#4E2FBC #BC2F57 #9DBC2F #2FBC94
square
#4E2FBC #BC2F57 #9DBC2F #2FBC94
split-complementary
#4E2FBC #BC942F #57BC2F
monochromatic
#25175A #3A238B #4E2FBC #7054D4 #9985E0

Accessibility & contrast

On white

8.55
#4E2FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2FBC
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2FBC#FFFFFF#000000##FFFFFF
##4E2FBC1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#0048B9
Tritanopia (blue-blind)
#0C5773
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e2fbc;
/* rgb */ color: rgb(78, 47, 188);
/* oklch */ color: oklch(44.0% 0.205 284.2);
Tailwind
colors: {
  custom: {
    50: '#8c6bd1',
    500: '#4e2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #4e2fbc;
$custom-light: #8c6bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2fbc",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 253.191,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43994,
    "c": 0.20504,
    "h": 284.2
  },
  "luminance": 0.07284
}

Semantic roles & 50–950 ramp

primary
#4E2FBC
secondary
#B9CA7D
accent
#E345C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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