#4E3270#4E3270

#4E3270 is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.1% C 0.105 H 302.6°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#4E3270
RGBrgb(78, 50, 112)
HSLhsl(267, 38%, 32%)
HSVhsv(267, 55%, 44%)
CMYKcmyk(30.4%, 55.4%, 0%, 56.1%)
CIE-LABlab(26.94, 26.56, -31.35)
CIE-LCHlch(26.94, 41.09, 310.27°)
OKLaboklab(38.12% 0.0564 -0.0883)
OKLCHoklch(38.12% 0.105 302.6)
XYZxyz(7.2065, 5.0708, 15.9252)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3270 #547032
analogous
#323570 #4E3270 #6D3270
triadic
#4E3270 #704E32 #32704E
tetradic
#4E3270 #703235 #547032 #32706D
square
#4E3270 #703235 #547032 #32706D
split-complementary
#4E3270 #706D32 #357032
monochromatic
#130C1B #311F46 #4E3270 #6B459A #8A63B9

Accessibility & contrast

On white

10.43
#4E3270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4E3270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3270
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3270#FFFFFF#000000##FFFFFF
##4E32701.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F72
Deuteranopia (green-blind)
#253F6F
Tritanopia (blue-blind)
#483E4C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e3270;
/* rgb */ color: rgb(78, 50, 112);
/* oklch */ color: oklch(38.1% 0.105 302.6);
Tailwind
colors: {
  custom: {
    50: '#826b99',
    500: '#4e3270',
    950: '#000000',
  },
}
SCSS
$custom: #4e3270;
$custom-light: #826b99;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3270",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 112
  },
  "hsl": {
    "h": 267.097,
    "s": 38.272,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3812,
    "c": 0.10478,
    "h": 302.6
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#4E3270
secondary
#82A15D
accent
#CE5A9A
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E3270

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

Preview Lab → · Contrast checker → · Palette generator →

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