#4E33AF#4E33AF

#4E33AF is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.3% C 0.185 H 285.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#4E33AF
RGBrgb(78, 51, 175)
HSLhsl(253, 55%, 44%)
HSVhsv(253, 71%, 69%)
CMYKcmyk(55.4%, 70.9%, 0%, 31.4%)
CIE-LABlab(31.99, 44.39, -62.01)
CIE-LCHlch(31.99, 76.26, 305.60°)
OKLaboklab(43.31% 0.0502 -0.1783)
OKLCHoklch(43.31% 0.185 285.7)
XYZxyz(12.0612, 7.0818, 41.2805)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33AF #94AF33
analogous
#3356AF #4E33AF #8C33AF
triadic
#4E33AF #AF4E33 #33AF4E
tetradic
#4E33AF #AF3356 #94AF33 #33AF8C
square
#4E33AF #AF3356 #94AF33 #33AF8C
split-complementary
#4E33AF #AF8C33 #56AF33
monochromatic
#241750 #392580 #4E33AF #6D52CD #9582DB

Accessibility & contrast

On white

8.69
#4E33AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4E33AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33AF
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33AF#FFFFFF#000000##FFFFFF
##4E33AF1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#23546D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e33af;
/* rgb */ color: rgb(78, 51, 175);
/* oklch */ color: oklch(43.3% 0.185 285.7);
Tailwind
colors: {
  custom: {
    50: '#8a6dc8',
    500: '#4e33af',
    950: '#000000',
  },
}
SCSS
$custom: #4e33af;
$custom-light: #8a6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33af",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 253.065,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4331,
    "c": 0.18526,
    "h": 285.7
  },
  "luminance": 0.07082
}

Semantic roles & 50–950 ramp

primary
#4E33AF
secondary
#B4C47A
accent
#DE4ABE
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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