#4E2965#4E2965

#4E2965 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.8% C 0.106 H 310.6°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#4E2965
RGBrgb(78, 41, 101)
HSLhsl(277, 42%, 28%)
HSVhsv(277, 59%, 40%)
CMYKcmyk(22.8%, 59.4%, 0%, 60.4%)
CIE-LABlab(24.15, 29.13, -28.70)
CIE-LCHlch(24.15, 40.89, 315.42°)
OKLaboklab(35.84% 0.0691 -0.0805)
OKLCHoklch(35.84% 0.106 310.6)
XYZxyz(6.2833, 4.1453, 12.7785)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2965 #406529
analogous
#302965 #4E2965 #65295E
triadic
#4E2965 #654E29 #29654E
tetradic
#4E2965 #653029 #406529 #295E65
square
#4E2965 #653029 #406529 #295E65
split-complementary
#4E2965 #5E6529 #296530
monochromatic
#110916 #2C1739 #4E2965 #703B91 #9050B8

Accessibility & contrast

On white

11.48
#4E2965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4E2965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2965
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2965#FFFFFF#000000##FFFFFF
##4E29651.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163867
Deuteranopia (green-blind)
#243A64
Tritanopia (blue-blind)
#4B3442
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2965;
/* rgb */ color: rgb(78, 41, 101);
/* oklch */ color: oklch(35.8% 0.106 310.6);
Tailwind
colors: {
  custom: {
    50: '#816491',
    500: '#4e2965',
    950: '#000000',
  },
}
SCSS
$custom: #4e2965;
$custom-light: #816491;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2965",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 101
  },
  "hsl": {
    "h": 277,
    "s": 42.254,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3584,
    "c": 0.10608,
    "h": 310.6
  },
  "luminance": 0.04145
}

Semantic roles & 50–950 ramp

primary
#4E2965
secondary
#6D9752
accent
#D25685
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050D
muted
#7C7A7D

Preview Lab

Preview with #4E2965

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

Preview Lab → · Contrast checker → · Palette generator →

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