#4E2DBF#4E2DBF

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

Color values

HEX#4E2DBF
RGBrgb(78, 45, 191)
HSLhsl(254, 62%, 46%)
HSVhsv(254, 76%, 75%)
CMYKcmyk(59.2%, 76.4%, 0%, 25.1%)
CIE-LABlab(32.39, 52.20, -70.85)
CIE-LCHlch(32.39, 88.00, 306.38°)
OKLaboklab(44.04% 0.051 -0.2042)
OKLCHoklch(44.04% 0.21 284)
XYZxyz(13.4814, 7.2572, 49.9705)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2DBF #9EBF2D
analogous
#2D55BF #4E2DBF #972DBF
triadic
#4E2DBF #BF4E2D #2DBF4E
tetradic
#4E2DBF #BF2D55 #9EBF2D #2DBF97
square
#4E2DBF #BF2D55 #9EBF2D #2DBF97
split-complementary
#4E2DBF #BF972D #55BF2D
monochromatic
#26165C #3A218D #4E2DBF #7153D6 #9A84E2

Accessibility & contrast

On white

8.57
#4E2DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4E2DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2DBF
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2DBF#FFFFFF#000000##FFFFFF
##4E2DBF1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C3
Deuteranopia (green-blind)
#0047BC
Tritanopia (blue-blind)
#025775
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e2dbf;
/* rgb */ color: rgb(78, 45, 191);
/* oklch */ color: oklch(44.0% 0.210 284.0);
Tailwind
colors: {
  custom: {
    50: '#8d6ad4',
    500: '#4e2dbf',
    950: '#000000',
  },
}
SCSS
$custom: #4e2dbf;
$custom-light: #8d6ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2dbf",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 253.562,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44042,
    "c": 0.21045,
    "h": 284
  },
  "luminance": 0.07258
}

Semantic roles & 50–950 ramp

primary
#4E2DBF
secondary
#BACB7C
accent
#E543C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E2DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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