#4E305F#4E305F

#4E305F is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.7% C 0.085 H 312.3°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#4E305F
RGBrgb(78, 48, 95)
HSLhsl(278, 33%, 28%)
HSVhsv(278, 49%, 37%)
CMYKcmyk(17.9%, 49.5%, 0%, 62.7%)
CIE-LABlab(25.44, 23.33, -22.74)
CIE-LCHlch(25.44, 32.58, 315.74°)
OKLaboklab(36.68% 0.0575 -0.0632)
OKLCHoklch(36.68% 0.085 312.3)
XYZxyz(6.2640, 4.5600, 11.3744)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E305F #415F30
analogous
#36305F #4E305F #5F3058
triadic
#4E305F #5F4E30 #305F4E
tetradic
#4E305F #5F3630 #415F30 #30585F
square
#4E305F #5F3630 #415F30 #30585F
split-complementary
#4E305F #585F30 #305F36
monochromatic
#110A14 #2D1B36 #4E305F #6F4588 #905DAD

Accessibility & contrast

On white

10.98
#4E305F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4E305F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E305F
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E305F#FFFFFF#000000##FFFFFF
##4E305F1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263B61
Deuteranopia (green-blind)
#2E3D5E
Tritanopia (blue-blind)
#4C3743
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e305f;
/* rgb */ color: rgb(78, 48, 95);
/* oklch */ color: oklch(36.7% 0.085 312.3);
Tailwind
colors: {
  custom: {
    50: '#81698c',
    500: '#4e305f',
    950: '#000000',
  },
}
SCSS
$custom: #4e305f;
$custom-light: #81698c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e305f",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 95
  },
  "hsl": {
    "h": 278.298,
    "s": 32.867,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36684,
    "c": 0.08542,
    "h": 312.3
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#4E305F
secondary
#6E905A
accent
#C95F85
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E305F

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

Preview Lab → · Contrast checker → · Palette generator →

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