#4E3283#4E3283

#4E3283 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.5% C 0.130 H 295.8°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#4E3283
RGBrgb(78, 50, 131)
HSLhsl(261, 45%, 35%)
HSVhsv(261, 62%, 51%)
CMYKcmyk(40.5%, 61.8%, 0%, 48.6%)
CIE-LABlab(28.22, 31.92, -41.29)
CIE-LCHlch(28.22, 52.19, 307.71°)
OKLaboklab(39.48% 0.0567 -0.1175)
OKLCHoklch(39.48% 0.13 295.8)
XYZxyz(8.3782, 5.5394, 22.0961)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3283 #678332
analogous
#323E83 #4E3283 #763283
triadic
#4E3283 #834E32 #32834E
tetradic
#4E3283 #83323E #678332 #328376
square
#4E3283 #83323E #678332 #328376
split-complementary
#4E3283 #837632 #3E8332
monochromatic
#19102A #342157 #4E3283 #6843AF #8969C6

Accessibility & contrast

On white

9.96
#4E3283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4E3283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3283
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3283#FFFFFF#000000##FFFFFF
##4E32831.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#0C4181
Tritanopia (blue-blind)
#414455
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e3283;
/* rgb */ color: rgb(78, 50, 131);
/* oklch */ color: oklch(39.5% 0.130 295.8);
Tailwind
colors: {
  custom: {
    50: '#846ba8',
    500: '#4e3283',
    950: '#000000',
  },
}
SCSS
$custom: #4e3283;
$custom-light: #846ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3283",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 131
  },
  "hsl": {
    "h": 260.741,
    "s": 44.751,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39477,
    "c": 0.13045,
    "h": 295.8
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#4E3283
secondary
#94AE63
accent
#D453A8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E3283

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

Preview Lab → · Contrast checker → · Palette generator →

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