#4E3262#4E3262

#4E3262 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.2% C 0.086 H 309.7°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#4E3262
RGBrgb(78, 50, 98)
HSLhsl(275, 32%, 29%)
HSVhsv(275, 49%, 38%)
CMYKcmyk(20.4%, 49%, 0%, 61.6%)
CIE-LABlab(26.11, 22.84, -23.65)
CIE-LCHlch(26.11, 32.87, 314.00°)
OKLaboklab(37.24% 0.0547 -0.0659)
OKLCHoklch(37.24% 0.086 309.7)
XYZxyz(6.4867, 4.7828, 12.1344)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3262 #466232
analogous
#363262 #4E3262 #62325E
triadic
#4E3262 #624E32 #32624E
tetradic
#4E3262 #623632 #466232 #325E62
square
#4E3262 #623632 #466232 #325E62
split-complementary
#4E3262 #5E6232 #326236
monochromatic
#100A14 #2E1D39 #4E3262 #6E478B #8E60AE

Accessibility & contrast

On white

10.73
#4E3262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4E3262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3262
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3262#FFFFFF#000000##FFFFFF
##4E32621.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273C64
Deuteranopia (green-blind)
#2E3E61
Tritanopia (blue-blind)
#4C3A45
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e3262;
/* rgb */ color: rgb(78, 50, 98);
/* oklch */ color: oklch(37.2% 0.086 309.7);
Tailwind
colors: {
  custom: {
    50: '#816a8f',
    500: '#4e3262',
    950: '#000000',
  },
}
SCSS
$custom: #4e3262;
$custom-light: #816a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3262",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 275,
    "s": 32.432,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37235,
    "c": 0.08563,
    "h": 309.7
  },
  "luminance": 0.04783
}

Semantic roles & 50–950 ramp

primary
#4E3262
secondary
#73935D
accent
#C95F8B
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E3262

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

Preview Lab → · Contrast checker → · Palette generator →

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