#4E43A1#4E43A1

#4E43A1 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.147 H 284.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#4E43A1
RGBrgb(78, 67, 161)
HSLhsl(247, 41%, 45%)
HSVhsv(247, 58%, 63%)
CMYKcmyk(51.6%, 58.4%, 0%, 36.9%)
CIE-LABlab(34.41, 30.59, -49.68)
CIE-LCHlch(34.41, 58.34, 301.62°)
OKLaboklab(44.72% 0.0356 -0.1421)
OKLCHoklch(44.72% 0.147 284.1)
XYZxyz(11.5801, 8.2066, 34.6852)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43A1 #96A143
analogous
#4367A1 #4E43A1 #7D43A1
triadic
#4E43A1 #A14E43 #43A14E
tetradic
#4E43A1 #A14367 #96A143 #43A17D
square
#4E43A1 #A14367 #96A143 #43A17D
split-complementary
#4E43A1 #A17D43 #67A143
monochromatic
#241F4B #393176 #4E43A1 #6E63BE #968ED0

Accessibility & contrast

On white

7.95
#4E43A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4E43A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E43A1
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E43A1#FFFFFF#000000##FFFFFF
##4E43A11.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#2E596B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e43a1;
/* rgb */ color: rgb(78, 67, 161);
/* oklch */ color: oklch(44.7% 0.147 284.1);
Tailwind
colors: {
  custom: {
    50: '#8677bd',
    500: '#4e43a1',
    950: '#000000',
  },
}
SCSS
$custom: #4e43a1;
$custom-light: #8677bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43a1",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 161
  },
  "hsl": {
    "h": 247.021,
    "s": 41.228,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44715,
    "c": 0.14651,
    "h": 284.1
  },
  "luminance": 0.08207
}

Semantic roles & 50–950 ramp

primary
#4E43A1
secondary
#B5BB84
accent
#D157C3
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E43A1

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

Preview Lab → · Contrast checker → · Palette generator →

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