#4E2366#4E2366

#4E2366 is a dark, moderate violet. Relative luminance 0.038; OKLCH L 35.0% C 0.117 H 311.4°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#4E2366
RGBrgb(78, 35, 102)
HSLhsl(279, 49%, 27%)
HSVhsv(279, 66%, 40%)
CMYKcmyk(23.5%, 65.7%, 0%, 60%)
CIE-LABlab(22.93, 32.81, -31.29)
CIE-LCHlch(22.93, 45.34, 316.36°)
OKLaboklab(34.98% 0.0776 -0.0881)
OKLCHoklch(34.98% 0.117 311.4)
XYZxyz(6.1407, 3.7812, 12.9742)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2366 #3B6623
analogous
#2C2366 #4E2366 #66235D
triadic
#4E2366 #664E23 #23664E
tetradic
#4E2366 #662C23 #3B6623 #235D66
square
#4E2366 #662C23 #3B6623 #235D66
split-complementary
#4E2366 #5D6623 #23662C
monochromatic
#110817 #2B1338 #4E2366 #713394 #9344BF

Accessibility & contrast

On white

11.96
#4E2366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2366
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2366#FFFFFF#000000##FFFFFF
##4E23661.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073568
Deuteranopia (green-blind)
#1D3864
Tritanopia (blue-blind)
#4B3041
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2366;
/* rgb */ color: rgb(78, 35, 102);
/* oklch */ color: oklch(35.0% 0.117 311.4);
Tailwind
colors: {
  custom: {
    50: '#826192',
    500: '#4e2366',
    950: '#000000',
  },
}
SCSS
$custom: #4e2366;
$custom-light: #826192;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2366",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 102
  },
  "hsl": {
    "h": 278.507,
    "s": 48.905,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34977,
    "c": 0.11739,
    "h": 311.4
  },
  "luminance": 0.03781
}

Semantic roles & 50–950 ramp

primary
#4E2366
secondary
#679A4B
accent
#D84F80
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E2366

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

Preview Lab → · Contrast checker → · Palette generator →

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