#4E33A4#4E33A4

#4E33A4 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.172 H 287.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4E33A4
RGBrgb(78, 51, 164)
HSLhsl(254, 53%, 42%)
HSVhsv(254, 69%, 64%)
CMYKcmyk(52.4%, 68.9%, 0%, 35.7%)
CIE-LABlab(31.04, 41.10, -56.97)
CIE-LCHlch(31.04, 70.25, 305.81°)
OKLaboklab(42.33% 0.0521 -0.1636)
OKLCHoklch(42.33% 0.172 287.7)
XYZxyz(11.0246, 6.6672, 35.8207)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33A4 #89A433
analogous
#3351A4 #4E33A4 #8633A4
triadic
#4E33A4 #A44E33 #33A44E
tetradic
#4E33A4 #A43351 #89A433 #33A486
square
#4E33A4 #A43351 #89A433 #33A486
split-complementary
#4E33A4 #A48633 #51A433
monochromatic
#221647 #382475 #4E33A4 #6A4DC8 #917BD6

Accessibility & contrast

On white

9.00
#4E33A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4E33A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33A4
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33A4#FFFFFF#000000##FFFFFF
##4E33A41.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#2D5067
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e33a4;
/* rgb */ color: rgb(78, 51, 164);
/* oklch */ color: oklch(42.3% 0.172 287.7);
Tailwind
colors: {
  custom: {
    50: '#886dc0',
    500: '#4e33a4',
    950: '#000000',
  },
}
SCSS
$custom: #4e33a4;
$custom-light: #886dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33a4",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 254.336,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42332,
    "c": 0.17166,
    "h": 287.7
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#4E33A4
secondary
#ADBF74
accent
#DC4CBA
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E33A4

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

Preview Lab → · Contrast checker → · Palette generator →

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