#4E3066#4E3066

#4E3066 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.1% C 0.095 H 308.1°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#4E3066
RGBrgb(78, 48, 102)
HSLhsl(273, 36%, 29%)
HSVhsv(273, 53%, 40%)
CMYKcmyk(23.5%, 52.9%, 0%, 60%)
CIE-LABlab(25.84, 25.13, -26.66)
CIE-LCHlch(25.84, 36.63, 313.30°)
OKLaboklab(37.11% 0.0585 -0.0746)
OKLCHoklch(37.11% 0.095 308.1)
XYZxyz(6.5966, 4.6930, 13.1261)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3066 #486630
analogous
#333066 #4E3066 #663063
triadic
#4E3066 #664E30 #30664E
tetradic
#4E3066 #663330 #486630 #306366
square
#4E3066 #663330 #486630 #306366
split-complementary
#4E3066 #636630 #306633
monochromatic
#100A15 #2E1C3C #4E3066 #6E4490 #8D5DB3

Accessibility & contrast

On white

10.83
#4E3066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4E3066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3066
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3066#FFFFFF#000000##FFFFFF
##4E30661.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213C68
Deuteranopia (green-blind)
#2A3E65
Tritanopia (blue-blind)
#4B3946
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e3066;
/* rgb */ color: rgb(78, 48, 102);
/* oklch */ color: oklch(37.1% 0.095 308.1);
Tailwind
colors: {
  custom: {
    50: '#816992',
    500: '#4e3066',
    950: '#000000',
  },
}
SCSS
$custom: #4e3066;
$custom-light: #816992;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3066",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 102
  },
  "hsl": {
    "h": 273.333,
    "s": 36,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37112,
    "c": 0.09479,
    "h": 308.1
  },
  "luminance": 0.04693
}

Semantic roles & 50–950 ramp

primary
#4E3066
secondary
#76975A
accent
#CC5C8E
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E3066

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

Preview Lab → · Contrast checker → · Palette generator →

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