#4E2365#4E2365

#4E2365 is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.9% C 0.116 H 311.9°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#4E2365
RGBrgb(78, 35, 101)
HSLhsl(279, 49%, 27%)
HSVhsv(279, 65%, 40%)
CMYKcmyk(22.8%, 65.3%, 0%, 60.4%)
CIE-LABlab(22.87, 32.56, -30.74)
CIE-LCHlch(22.87, 44.78, 316.65°)
OKLaboklab(34.91% 0.0777 -0.0865)
OKLCHoklch(34.91% 0.116 311.9)
XYZxyz(6.0915, 3.7615, 12.7145)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2365 #3A6523
analogous
#2D2365 #4E2365 #65235B
triadic
#4E2365 #654E23 #23654E
tetradic
#4E2365 #652D23 #3A6523 #235B65
square
#4E2365 #652D23 #3A6523 #235B65
split-complementary
#4E2365 #5B6523 #23652D
monochromatic
#120817 #2B1338 #4E2365 #713392 #9444BE

Accessibility & contrast

On white

11.98
#4E2365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4E2365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2365
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2365#FFFFFF#000000##FFFFFF
##4E23651.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093467
Deuteranopia (green-blind)
#1E3763
Tritanopia (blue-blind)
#4B2F40
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2365;
/* rgb */ color: rgb(78, 35, 101);
/* oklch */ color: oklch(34.9% 0.116 311.9);
Tailwind
colors: {
  custom: {
    50: '#826191',
    500: '#4e2365',
    950: '#000000',
  },
}
SCSS
$custom: #4e2365;
$custom-light: #826191;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2365",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 101
  },
  "hsl": {
    "h": 279.091,
    "s": 48.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34906,
    "c": 0.11622,
    "h": 311.9
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#4E2365
secondary
#66994B
accent
#D8507F
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050D
muted
#7C797D

Preview Lab

Preview with #4E2365

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

Preview Lab → · Contrast checker → · Palette generator →

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