#4E2567#4E2567

#4E2567 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.3% C 0.115 H 310.5°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#4E2567
RGBrgb(78, 37, 103)
HSLhsl(277, 47%, 27%)
HSVhsv(277, 64%, 40%)
CMYKcmyk(24.3%, 64.1%, 0%, 59.6%)
CIE-LABlab(23.41, 31.94, -31.17)
CIE-LCHlch(23.41, 44.64, 315.70°)
OKLaboklab(35.35% 0.0749 -0.0877)
OKLCHoklch(35.35% 0.115 310.5)
XYZxyz(6.2512, 3.9222, 13.2571)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2567 #3E6725
analogous
#2D2567 #4E2567 #67255F
triadic
#4E2567 #674E25 #25674E
tetradic
#4E2567 #672D25 #3E6725 #255F67
square
#4E2567 #672D25 #3E6725 #255F67
split-complementary
#4E2567 #5F6725 #25672D
monochromatic
#110817 #2C153A #4E2567 #703594 #9149BE

Accessibility & contrast

On white

11.77
#4E2567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4E2567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2567
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2567#FFFFFF#000000##FFFFFF
##4E25671.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3669
Deuteranopia (green-blind)
#1E3865
Tritanopia (blue-blind)
#4B3142
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2567;
/* rgb */ color: rgb(78, 37, 103);
/* oklch */ color: oklch(35.3% 0.115 310.5);
Tailwind
colors: {
  custom: {
    50: '#826293',
    500: '#4e2567',
    950: '#000000',
  },
}
SCSS
$custom: #4e2567;
$custom-light: #826293;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2567",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 103
  },
  "hsl": {
    "h": 277.273,
    "s": 47.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35346,
    "c": 0.11533,
    "h": 310.5
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#4E2567
secondary
#6B9A4E
accent
#D75184
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E2567

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

Preview Lab → · Contrast checker → · Palette generator →

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