#4E3260#4E3260

#4E3260 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.1% C 0.083 H 311.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#4E3260
RGBrgb(78, 50, 96)
HSLhsl(277, 32%, 29%)
HSVhsv(277, 48%, 38%)
CMYKcmyk(18.7%, 47.9%, 0%, 62.4%)
CIE-LABlab(26.00, 22.32, -22.52)
CIE-LCHlch(26.00, 31.71, 314.75°)
OKLaboklab(37.12% 0.0544 -0.0626)
OKLCHoklch(37.12% 0.083 311)
XYZxyz(6.3934, 4.7455, 11.6432)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3260 #446032
analogous
#373260 #4E3260 #60325B
triadic
#4E3260 #604E32 #32604E
tetradic
#4E3260 #603732 #446032 #325B60
square
#4E3260 #603732 #446032 #325B60
split-complementary
#4E3260 #5B6032 #326037
monochromatic
#100A14 #2D1D38 #4E3260 #6F4788 #8E60AC

Accessibility & contrast

On white

10.77
#4E3260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4E3260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3260
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3260#FFFFFF#000000##FFFFFF
##4E32601.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283C62
Deuteranopia (green-blind)
#2F3E5F
Tritanopia (blue-blind)
#4C3944
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e3260;
/* rgb */ color: rgb(78, 50, 96);
/* oklch */ color: oklch(37.1% 0.083 311.0);
Tailwind
colors: {
  custom: {
    50: '#816a8d',
    500: '#4e3260',
    950: '#000000',
  },
}
SCSS
$custom: #4e3260;
$custom-light: #816a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3260",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 96
  },
  "hsl": {
    "h": 276.522,
    "s": 31.507,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37117,
    "c": 0.08291,
    "h": 311
  },
  "luminance": 0.04745
}

Semantic roles & 50–950 ramp

primary
#4E3260
secondary
#71915D
accent
#C86089
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E3260

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

Preview Lab → · Contrast checker → · Palette generator →

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