#4E33A7#4E33A7

#4E33A7 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.6% C 0.175 H 287.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#4E33A7
RGBrgb(78, 51, 167)
HSLhsl(254, 53%, 43%)
HSVhsv(254, 69%, 65%)
CMYKcmyk(53.3%, 69.5%, 0%, 34.5%)
CIE-LABlab(31.29, 42.00, -58.36)
CIE-LCHlch(31.29, 71.90, 305.74°)
OKLaboklab(42.6% 0.0516 -0.1676)
OKLCHoklch(42.6% 0.175 287.1)
XYZxyz(11.2987, 6.7768, 37.2644)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33A7 #8CA733
analogous
#3352A7 #4E33A7 #8833A7
triadic
#4E33A7 #A74E33 #33A74E
tetradic
#4E33A7 #A73352 #8CA733 #33A788
square
#4E33A7 #A73352 #8CA733 #33A788
split-complementary
#4E33A7 #A78833 #52A733
monochromatic
#221649 #382578 #4E33A7 #6B4EC9 #927DD7

Accessibility & contrast

On white

8.92
#4E33A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E33A7
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33A7#FFFFFF#000000##FFFFFF
##4E33A71.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#2B5169
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e33a7;
/* rgb */ color: rgb(78, 51, 167);
/* oklch */ color: oklch(42.6% 0.175 287.1);
Tailwind
colors: {
  custom: {
    50: '#886dc2',
    500: '#4e33a7',
    950: '#000000',
  },
}
SCSS
$custom: #4e33a7;
$custom-light: #886dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33a7",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 167
  },
  "hsl": {
    "h": 253.966,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42595,
    "c": 0.17541,
    "h": 287.1
  },
  "luminance": 0.06777
}

Semantic roles & 50–950 ramp

primary
#4E33A7
secondary
#AFC076
accent
#DD4BBB
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E33A7

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

Preview Lab → · Contrast checker → · Palette generator →

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