#4E4268#4E4268

#4E4268 is a dark, moderate violet. Relative luminance 0.065; OKLCH L 40.8% C 0.064 H 298.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4E4268
RGBrgb(78, 66, 104)
HSLhsl(259, 22%, 33%)
HSVhsv(259, 37%, 41%)
CMYKcmyk(25%, 36.5%, 0%, 59.2%)
CIE-LABlab(30.68, 14.10, -20.35)
CIE-LCHlch(30.68, 24.76, 304.71°)
OKLaboklab(40.79% 0.03 -0.0564)
OKLCHoklch(40.79% 0.064 298)
XYZxyz(7.5882, 6.5156, 13.9519)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4268 #5C6842
analogous
#424968 #4E4268 #614268
triadic
#4E4268 #684E42 #42684E
tetradic
#4E4268 #684249 #5C6842 #426861
square
#4E4268 #684249 #5C6842 #426861
split-complementary
#4E4268 #686142 #496842
monochromatic
#16121D #322A43 #4E4268 #6A5A8D #897AAB

Accessibility & contrast

On white

9.12
#4E4268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4E4268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4268
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4268#FFFFFF#000000##FFFFFF
##4E42681.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39486A
Deuteranopia (green-blind)
#3B4867
Tritanopia (blue-blind)
#494850
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e4268;
/* rgb */ color: rgb(78, 66, 104);
/* oklch */ color: oklch(40.8% 0.064 298.0);
Tailwind
colors: {
  custom: {
    50: '#807693',
    500: '#4e4268',
    950: '#000000',
  },
}
SCSS
$custom: #4e4268;
$custom-light: #807693;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4268",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 104
  },
  "hsl": {
    "h": 258.947,
    "s": 22.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40793,
    "c": 0.06392,
    "h": 298
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#4E4268
secondary
#8A966F
accent
#BF69A4
background
#F7F7F9
surface
#EEEDF1
border
#C9C8CB
text
#0A080D
muted
#7C7B7E

Preview Lab

Preview with #4E4268

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

Preview Lab → · Contrast checker → · Palette generator →

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