#4E2468#4E2468

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

Color values

HEX#4E2468
RGBrgb(78, 36, 104)
HSLhsl(277, 49%, 27%)
HSVhsv(277, 65%, 41%)
CMYKcmyk(25%, 65.4%, 0%, 59.2%)
CIE-LABlab(23.27, 32.75, -32.05)
CIE-LCHlch(23.27, 45.82, 315.63°)
OKLaboklab(35.27% 0.0762 -0.0903)
OKLCHoklch(35.27% 0.118 310.2)
XYZxyz(6.2710, 3.8811, 13.5128)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2468 #3E6824
analogous
#2C2468 #4E2468 #682460
triadic
#4E2468 #684E24 #24684E
tetradic
#4E2468 #682C24 #3E6824 #246068
square
#4E2468 #682C24 #3E6824 #246068
split-complementary
#4E2468 #606824 #24682C
monochromatic
#110817 #2C143B #4E2468 #703495 #9147BF

Accessibility & contrast

On white

11.82
#4E2468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2468
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2468#FFFFFF#000000##FFFFFF
##4E24681.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06366A
Deuteranopia (green-blind)
#1C3866
Tritanopia (blue-blind)
#4B3142
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2468;
/* rgb */ color: rgb(78, 36, 104);
/* oklch */ color: oklch(35.3% 0.118 310.2);
Tailwind
colors: {
  custom: {
    50: '#826193',
    500: '#4e2468',
    950: '#000000',
  },
}
SCSS
$custom: #4e2468;
$custom-light: #826193;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2468",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 104
  },
  "hsl": {
    "h": 277.059,
    "s": 48.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35267,
    "c": 0.11815,
    "h": 310.2
  },
  "luminance": 0.03881
}

Semantic roles & 50–950 ramp

primary
#4E2468
secondary
#6B9B4C
accent
#D85084
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E2468

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

Preview Lab → · Contrast checker → · Palette generator →

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