#4E2F80#4E2F80

#4E2F80 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.131 H 297.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#4E2F80
RGBrgb(78, 47, 128)
HSLhsl(263, 46%, 34%)
HSVhsv(263, 63%, 50%)
CMYKcmyk(39.1%, 63.3%, 0%, 49.8%)
CIE-LABlab(27.33, 32.85, -40.85)
CIE-LCHlch(27.33, 52.42, 308.81°)
OKLaboklab(38.76% 0.0607 -0.1162)
OKLCHoklch(38.76% 0.131 297.6)
XYZxyz(8.0537, 5.2111, 20.9994)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F80 #61802F
analogous
#2F3980 #4E2F80 #772F80
triadic
#4E2F80 #804E2F #2F804E
tetradic
#4E2F80 #802F39 #61802F #2F8077
square
#4E2F80 #802F39 #61802F #2F8077
split-complementary
#4E2F80 #80772F #39802F
monochromatic
#170E26 #331F53 #4E2F80 #693FAD #8963C6

Accessibility & contrast

On white

10.28
#4E2F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4E2F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F80
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F80#FFFFFF#000000##FFFFFF
##4E2F801.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#0B407E
Tritanopia (blue-blind)
#424153
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e2f80;
/* rgb */ color: rgb(78, 47, 128);
/* oklch */ color: oklch(38.8% 0.131 297.6);
Tailwind
colors: {
  custom: {
    50: '#8369a5',
    500: '#4e2f80',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f80;
$custom-light: #8369a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f80",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 262.963,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38757,
    "c": 0.13105,
    "h": 297.6
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#4E2F80
secondary
#8FAD5E
accent
#D652A3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4E2F80

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

Preview Lab → · Contrast checker → · Palette generator →

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