#4E2465#4E2465

#4E2465 is a dark, moderate violet. Relative luminance 0.038; OKLCH L 35.1% C 0.115 H 311.7°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#4E2465
RGBrgb(78, 36, 101)
HSLhsl(279, 47%, 27%)
HSVhsv(279, 64%, 40%)
CMYKcmyk(22.8%, 64.4%, 0%, 60.4%)
CIE-LABlab(23.07, 32.01, -30.42)
CIE-LCHlch(23.07, 44.16, 316.46°)
OKLaboklab(35.06% 0.0763 -0.0855)
OKLCHoklch(35.06% 0.115 311.7)
XYZxyz(6.1213, 3.8212, 12.7245)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2465 #3B6524
analogous
#2E2465 #4E2465 #65245C
triadic
#4E2465 #654E24 #24654E
tetradic
#4E2465 #652E24 #3B6524 #245C65
square
#4E2465 #652E24 #3B6524 #245C65
split-complementary
#4E2465 #5C6524 #24652E
monochromatic
#110817 #2B1438 #4E2465 #713492 #9346BD

Accessibility & contrast

On white

11.90
#4E2465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4E2465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2465
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2465#FFFFFF#000000##FFFFFF
##4E24651.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3567
Deuteranopia (green-blind)
#1F3863
Tritanopia (blue-blind)
#4B3041
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2465;
/* rgb */ color: rgb(78, 36, 101);
/* oklch */ color: oklch(35.1% 0.115 311.7);
Tailwind
colors: {
  custom: {
    50: '#826191',
    500: '#4e2465',
    950: '#000000',
  },
}
SCSS
$custom: #4e2465;
$custom-light: #826191;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2465",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 101
  },
  "hsl": {
    "h": 278.769,
    "s": 47.445,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35055,
    "c": 0.11458,
    "h": 311.7
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#4E2465
secondary
#67984C
accent
#D75180
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050D
muted
#7C797D

Preview Lab

Preview with #4E2465

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

Preview Lab → · Contrast checker → · Palette generator →

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