#4E357E#4E357E

#4E357E is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.6% C 0.119 H 296.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#4E357E
RGBrgb(78, 53, 126)
HSLhsl(261, 41%, 35%)
HSVhsv(261, 58%, 49%)
CMYKcmyk(38.1%, 57.9%, 0%, 50.6%)
CIE-LABlab(28.57, 28.64, -37.60)
CIE-LCHlch(28.57, 47.26, 307.30°)
OKLaboklab(39.62% 0.0528 -0.1066)
OKLCHoklch(39.62% 0.119 296.4)
XYZxyz(8.1799, 5.6721, 20.3985)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E357E #657E35
analogous
#35407E #4E357E #72357E
triadic
#4E357E #7E4E35 #357E4E
tetradic
#4E357E #7E3540 #657E35 #357E72
square
#4E357E #7E3540 #657E35 #357E72
split-complementary
#4E357E #7E7235 #407E35
monochromatic
#191128 #332353 #4E357E #6947A9 #896CC1

Accessibility & contrast

On white

9.84
#4E357E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4E357E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E357E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E357E#FFFFFF#000000##FFFFFF
##4E357E1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134480
Deuteranopia (green-blind)
#1B427C
Tritanopia (blue-blind)
#434454
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e357e;
/* rgb */ color: rgb(78, 53, 126);
/* oklch */ color: oklch(39.6% 0.119 296.4);
Tailwind
colors: {
  custom: {
    50: '#836da4',
    500: '#4e357e',
    950: '#000000',
  },
}
SCSS
$custom: #4e357e;
$custom-light: #836da4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e357e",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 126
  },
  "hsl": {
    "h": 260.548,
    "s": 40.782,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39622,
    "c": 0.11899,
    "h": 296.4
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#4E357E
secondary
#92AA65
accent
#D157A7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E357E

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

Preview Lab → · Contrast checker → · Palette generator →

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