#4E33A8#4E33A8

#4E33A8 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.177 H 286.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#4E33A8
RGBrgb(78, 51, 168)
HSLhsl(254, 53%, 43%)
HSVhsv(254, 70%, 66%)
CMYKcmyk(53.6%, 69.6%, 0%, 34.1%)
CIE-LABlab(31.38, 42.30, -58.82)
CIE-LCHlch(31.38, 72.45, 305.72°)
OKLaboklab(42.68% 0.0515 -0.169)
OKLCHoklch(42.68% 0.177 286.9)
XYZxyz(11.3915, 6.8139, 37.7532)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33A8 #8DA833
analogous
#3352A8 #4E33A8 #8833A8
triadic
#4E33A8 #A84E33 #33A84E
tetradic
#4E33A8 #A83352 #8DA833 #33A888
square
#4E33A8 #A83352 #8DA833 #33A888
split-complementary
#4E33A8 #A88833 #52A833
monochromatic
#22164A #382579 #4E33A8 #6B4FC9 #927ED8

Accessibility & contrast

On white

8.89
#4E33A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E33A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33A8
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33A8#FFFFFF#000000##FFFFFF
##4E33A81.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#2A5169
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e33a8;
/* rgb */ color: rgb(78, 51, 168);
/* oklch */ color: oklch(42.7% 0.177 286.9);
Tailwind
colors: {
  custom: {
    50: '#896dc3',
    500: '#4e33a8',
    950: '#000000',
  },
}
SCSS
$custom: #4e33a8;
$custom-light: #896dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33a8",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 168
  },
  "hsl": {
    "h": 253.846,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42684,
    "c": 0.17665,
    "h": 286.9
  },
  "luminance": 0.06815
}

Semantic roles & 50–950 ramp

primary
#4E33A8
secondary
#AFC176
accent
#DD4BBB
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4E33A8

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

Preview Lab → · Contrast checker → · Palette generator →

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