#4E2A67#4E2A67

#4E2A67 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.1% C 0.107 H 309.3°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#4E2A67
RGBrgb(78, 42, 103)
HSLhsl(275, 42%, 28%)
HSVhsv(275, 59%, 40%)
CMYKcmyk(24.3%, 59.2%, 0%, 59.6%)
CIE-LABlab(24.50, 29.05, -29.44)
CIE-LCHlch(24.50, 41.36, 314.61°)
OKLaboklab(36.14% 0.0677 -0.0827)
OKLCHoklch(36.14% 0.107 309.3)
XYZxyz(6.4176, 4.2550, 13.3126)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A67 #43672A
analogous
#2F2A67 #4E2A67 #672A61
triadic
#4E2A67 #674E2A #2A674E
tetradic
#4E2A67 #672F2A #43672A #2A6167
square
#4E2A67 #672F2A #43672A #2A6167
split-complementary
#4E2A67 #61672A #2A672F
monochromatic
#100916 #2D183C #4E2A67 #6F3C92 #8F53B9

Accessibility & contrast

On white

11.35
#4E2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4E2A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A67
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A67#FFFFFF#000000##FFFFFF
##4E2A671.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163969
Deuteranopia (green-blind)
#233B66
Tritanopia (blue-blind)
#4B3544
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2a67;
/* rgb */ color: rgb(78, 42, 103);
/* oklch */ color: oklch(36.1% 0.107 309.3);
Tailwind
colors: {
  custom: {
    50: '#826593',
    500: '#4e2a67',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a67;
$custom-light: #826593;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a67",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 275.41,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36139,
    "c": 0.10686,
    "h": 309.3
  },
  "luminance": 0.04255
}

Semantic roles & 50–950 ramp

primary
#4E2A67
secondary
#709954
accent
#D25689
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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