#4E33A6#4E33A6

#4E33A6 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.174 H 287.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#4E33A6
RGBrgb(78, 51, 166)
HSLhsl(254, 53%, 43%)
HSVhsv(254, 69%, 65%)
CMYKcmyk(53%, 69.3%, 0%, 34.9%)
CIE-LABlab(31.21, 41.70, -57.90)
CIE-LCHlch(31.21, 71.35, 305.76°)
OKLaboklab(42.51% 0.0518 -0.1663)
OKLCHoklch(42.51% 0.174 287.3)
XYZxyz(11.2066, 6.7400, 36.7794)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33A6 #8BA633
analogous
#3352A6 #4E33A6 #8733A6
triadic
#4E33A6 #A64E33 #33A64E
tetradic
#4E33A6 #A63352 #8BA633 #33A687
square
#4E33A6 #A63352 #8BA633 #33A687
split-complementary
#4E33A6 #A68733 #52A633
monochromatic
#221648 #382577 #4E33A6 #6B4EC9 #927CD7

Accessibility & contrast

On white

8.94
#4E33A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4E33A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33A6
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33A6#FFFFFF#000000##FFFFFF
##4E33A61.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#2C5068
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e33a6;
/* rgb */ color: rgb(78, 51, 166);
/* oklch */ color: oklch(42.5% 0.174 287.3);
Tailwind
colors: {
  custom: {
    50: '#886dc1',
    500: '#4e33a6',
    950: '#000000',
  },
}
SCSS
$custom: #4e33a6;
$custom-light: #886dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33a6",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 166
  },
  "hsl": {
    "h": 254.087,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42507,
    "c": 0.17416,
    "h": 287.3
  },
  "luminance": 0.06741
}

Semantic roles & 50–950 ramp

primary
#4E33A6
secondary
#AEC075
accent
#DC4BBA
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E33A6

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

Preview Lab → · Contrast checker → · Palette generator →

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