#4E2983#4E2983

#4E2983 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.144 H 298.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#4E2983
RGBrgb(78, 41, 131)
HSLhsl(265, 52%, 34%)
HSVhsv(265, 69%, 51%)
CMYKcmyk(40.5%, 68.7%, 0%, 48.6%)
CIE-LABlab(26.29, 37.13, -44.42)
CIE-LCHlch(26.29, 57.89, 309.90°)
OKLaboklab(38.08% 0.0677 -0.1267)
OKLCHoklch(38.08% 0.144 298.1)
XYZxyz(8.0305, 4.8442, 21.9803)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2983 #5E8329
analogous
#293183 #4E2983 #7B2983
triadic
#4E2983 #834E29 #29834E
tetradic
#4E2983 #832931 #5E8329 #29837B
square
#4E2983 #832931 #5E8329 #29837B
split-complementary
#4E2983 #837B29 #318329
monochromatic
#160C26 #321A54 #4E2983 #6A38B2 #895BCC

Accessibility & contrast

On white

10.67
#4E2983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4E2983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2983
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2983#FFFFFF#000000##FFFFFF
##4E29831.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#413E52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e2983;
/* rgb */ color: rgb(78, 41, 131);
/* oklch */ color: oklch(38.1% 0.144 298.1);
Tailwind
colors: {
  custom: {
    50: '#8465a8',
    500: '#4e2983',
    950: '#000000',
  },
}
SCSS
$custom: #4e2983;
$custom-light: #8465a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2983",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 264.667,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38076,
    "c": 0.14359,
    "h": 298.1
  },
  "luminance": 0.04844
}

Semantic roles & 50–950 ramp

primary
#4E2983
secondary
#8CB157
accent
#DC4CA1
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2983

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

Preview Lab → · Contrast checker → · Palette generator →

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