#4E3281#4E3281

#4E3281 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.3% C 0.128 H 296.4°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#4E3281
RGBrgb(78, 50, 129)
HSLhsl(261, 44%, 35%)
HSVhsv(261, 61%, 51%)
CMYKcmyk(39.5%, 61.2%, 0%, 49.4%)
CIE-LABlab(28.08, 31.34, -40.27)
CIE-LCHlch(28.08, 51.03, 307.90°)
OKLaboklab(39.33% 0.0568 -0.1145)
OKLCHoklch(39.33% 0.128 296.4)
XYZxyz(8.2439, 5.4857, 21.3891)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3281 #658132
analogous
#323D81 #4E3281 #763281
triadic
#4E3281 #814E32 #32814E
tetradic
#4E3281 #81323D #658132 #328176
square
#4E3281 #81323D #658132 #328176
split-complementary
#4E3281 #817632 #3D8132
monochromatic
#191029 #332155 #4E3281 #6943AD #8969C5

Accessibility & contrast

On white

10.01
#4E3281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4E3281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3281
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3281#FFFFFF#000000##FFFFFF
##4E32811.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014384
Deuteranopia (green-blind)
#10417F
Tritanopia (blue-blind)
#424354
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3281;
/* rgb */ color: rgb(78, 50, 129);
/* oklch */ color: oklch(39.3% 0.128 296.4);
Tailwind
colors: {
  custom: {
    50: '#836ba6',
    500: '#4e3281',
    950: '#000000',
  },
}
SCSS
$custom: #4e3281;
$custom-light: #836ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3281",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 261.266,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39326,
    "c": 0.12778,
    "h": 296.4
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#4E3281
secondary
#92AC62
accent
#D454A7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E3281

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

Preview Lab → · Contrast checker → · Palette generator →

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