#4E3068#4E3068

#4E3068 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.2% C 0.097 H 307.0°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#4E3068
RGBrgb(78, 48, 104)
HSLhsl(272, 37%, 30%)
HSVhsv(272, 54%, 41%)
CMYKcmyk(25%, 53.8%, 0%, 59.2%)
CIE-LABlab(25.96, 25.65, -27.76)
CIE-LCHlch(25.96, 37.80, 312.73°)
OKLaboklab(37.24% 0.0587 -0.0778)
OKLCHoklch(37.24% 0.097 307)
XYZxyz(6.6970, 4.7332, 13.6548)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3068 #4A6830
analogous
#323068 #4E3068 #683066
triadic
#4E3068 #684E30 #30684E
tetradic
#4E3068 #683230 #4A6830 #306668
square
#4E3068 #683230 #4A6830 #306668
split-complementary
#4E3068 #666830 #306832
monochromatic
#100A15 #2F1D3E #4E3068 #6D4392 #8C5EB5

Accessibility & contrast

On white

10.79
#4E3068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4E3068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3068
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3068#FFFFFF#000000##FFFFFF
##4E30681.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C6A
Deuteranopia (green-blind)
#293E67
Tritanopia (blue-blind)
#4A3A47
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e3068;
/* rgb */ color: rgb(78, 48, 104);
/* oklch */ color: oklch(37.2% 0.097 307.0);
Tailwind
colors: {
  custom: {
    50: '#816993',
    500: '#4e3068',
    950: '#000000',
  },
}
SCSS
$custom: #4e3068;
$custom-light: #816993;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3068",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 104
  },
  "hsl": {
    "h": 272.143,
    "s": 36.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37239,
    "c": 0.09748,
    "h": 307
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#4E3068
secondary
#78995A
accent
#CD5B90
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E3068

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

Preview Lab → · Contrast checker → · Palette generator →

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