#4E31BE#4E31BE

#4E31BE is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.4% C 0.205 H 283.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4E31BE
RGBrgb(78, 49, 190)
HSLhsl(252, 59%, 47%)
HSVhsv(252, 74%, 75%)
CMYKcmyk(58.9%, 74.2%, 0%, 25.5%)
CIE-LABlab(32.99, 49.91, -69.26)
CIE-LCHlch(32.99, 85.37, 305.78°)
OKLaboklab(44.44% 0.0485 -0.1996)
OKLCHoklch(44.44% 0.205 283.7)
XYZxyz(13.5316, 7.5332, 49.4462)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E31BE #A1BE31
analogous
#315BBE #4E31BE #9431BE
triadic
#4E31BE #BE4E31 #31BE4E
tetradic
#4E31BE #BE315B #A1BE31 #31BE94
square
#4E31BE #BE315B #A1BE31 #31BE94
split-complementary
#4E31BE #BE9431 #5BBE31
monochromatic
#26185D #3A248D #4E31BE #7258D4 #9B89E1

Accessibility & contrast

On white

8.38
#4E31BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E31BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E31BE
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E31BE#FFFFFF#000000##FFFFFF
##4E31BE1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C2
Deuteranopia (green-blind)
#0049BB
Tritanopia (blue-blind)
#045875
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e31be;
/* rgb */ color: rgb(78, 49, 190);
/* oklch */ color: oklch(44.4% 0.205 283.7);
Tailwind
colors: {
  custom: {
    50: '#8c6dd3',
    500: '#4e31be',
    950: '#000000',
  },
}
SCSS
$custom: #4e31be;
$custom-light: #8c6dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e31be",
  "rgb": {
    "r": 78,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 252.34,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44438,
    "c": 0.20538,
    "h": 283.7
  },
  "luminance": 0.07534
}

Semantic roles & 50–950 ramp

primary
#4E31BE
secondary
#BBCA80
accent
#E246C2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E31BE

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

Preview Lab → · Contrast checker → · Palette generator →

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