#4E43A2#4E43A2

#4E43A2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.8% C 0.148 H 283.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4E43A2
RGBrgb(78, 67, 162)
HSLhsl(247, 41%, 45%)
HSVhsv(247, 59%, 64%)
CMYKcmyk(51.9%, 58.6%, 0%, 36.5%)
CIE-LABlab(34.48, 30.91, -50.16)
CIE-LCHlch(34.48, 58.92, 301.64°)
OKLaboklab(44.79% 0.0356 -0.1435)
OKLCHoklch(44.79% 0.148 283.9)
XYZxyz(11.6687, 8.2420, 35.1514)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43A2 #97A243
analogous
#4368A2 #4E43A2 #7D43A2
triadic
#4E43A2 #A24E43 #43A24E
tetradic
#4E43A2 #A24368 #97A243 #43A27D
square
#4E43A2 #A24368 #97A243 #43A27D
split-complementary
#4E43A2 #A27D43 #68A243
monochromatic
#241F4B #393177 #4E43A2 #6E64BF #968FD1

Accessibility & contrast

On white

7.93
#4E43A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4E43A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E43A2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E43A2#FFFFFF#000000##FFFFFF
##4E43A21.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#2D596C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e43a2;
/* rgb */ color: rgb(78, 67, 162);
/* oklch */ color: oklch(44.8% 0.148 283.9);
Tailwind
colors: {
  custom: {
    50: '#8677be',
    500: '#4e43a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e43a2;
$custom-light: #8677be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43a2",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 246.947,
    "s": 41.485,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44791,
    "c": 0.14789,
    "h": 283.9
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#4E43A2
secondary
#B6BC85
accent
#D156C3
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E43A2

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

Preview Lab → · Contrast checker → · Palette generator →

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