#4E2667#4E2667

#4E2667 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.5% C 0.114 H 310.3°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#4E2667
RGBrgb(78, 38, 103)
HSLhsl(277, 46%, 28%)
HSVhsv(277, 63%, 40%)
CMYKcmyk(24.3%, 63.1%, 0%, 59.6%)
CIE-LABlab(23.62, 31.38, -30.84)
CIE-LCHlch(23.62, 43.99, 315.50°)
OKLaboklab(35.5% 0.0735 -0.0868)
OKLCHoklch(35.5% 0.114 310.3)
XYZxyz(6.2827, 3.9853, 13.2676)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2667 #3F6726
analogous
#2D2667 #4E2667 #67265F
triadic
#4E2667 #674E26 #26674E
tetradic
#4E2667 #672D26 #3F6726 #265F67
square
#4E2667 #672D26 #3F6726 #265F67
split-complementary
#4E2667 #5F6726 #26672D
monochromatic
#110816 #2C163A #4E2667 #703694 #914BBD

Accessibility & contrast

On white

11.69
#4E2667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4E2667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2667
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2667#FFFFFF#000000##FFFFFF
##4E26671.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3669
Deuteranopia (green-blind)
#1F3965
Tritanopia (blue-blind)
#4B3242
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2667;
/* rgb */ color: rgb(78, 38, 103);
/* oklch */ color: oklch(35.5% 0.114 310.3);
Tailwind
colors: {
  custom: {
    50: '#826393',
    500: '#4e2667',
    950: '#000000',
  },
}
SCSS
$custom: #4e2667;
$custom-light: #826393;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2667",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 103
  },
  "hsl": {
    "h": 276.923,
    "s": 46.099,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35499,
    "c": 0.11368,
    "h": 310.3
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#4E2667
secondary
#6C9A4F
accent
#D65285
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E2667

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

Preview Lab → · Contrast checker → · Palette generator →

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