#4E306D#4E306D

#4E306D is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.6% C 0.104 H 304.6°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#4E306D
RGBrgb(78, 48, 109)
HSLhsl(270, 39%, 31%)
HSVhsv(270, 56%, 43%)
CMYKcmyk(28.4%, 56%, 0%, 57.3%)
CIE-LABlab(26.27, 26.98, -30.49)
CIE-LCHlch(26.27, 40.72, 311.50°)
OKLaboklab(37.57% 0.0592 -0.0858)
OKLCHoklch(37.57% 0.104 304.6)
XYZxyz(6.9586, 4.8378, 15.0322)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E306D #4F6D30
analogous
#30306D #4E306D #6C306D
triadic
#4E306D #6D4E30 #306D4E
tetradic
#4E306D #6D3030 #4F6D30 #306D6C
square
#4E306D #6D3030 #4F6D30 #306D6C
split-complementary
#4E306D #6D6C30 #306D30
monochromatic
#110B18 #301D43 #4E306D #6C4397 #8B5FB8

Accessibility & contrast

On white

10.67
#4E306D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4E306D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E306D
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E306D#FFFFFF#000000##FFFFFF
##4E306D1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3D6F
Deuteranopia (green-blind)
#253E6C
Tritanopia (blue-blind)
#493B49
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e306d;
/* rgb */ color: rgb(78, 48, 109);
/* oklch */ color: oklch(37.6% 0.104 304.6);
Tailwind
colors: {
  custom: {
    50: '#826997',
    500: '#4e306d',
    950: '#000000',
  },
}
SCSS
$custom: #4e306d;
$custom-light: #826997;
$custom-dark: #000000;
JSON
{
  "hex": "#4e306d",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 269.508,
    "s": 38.854,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37565,
    "c": 0.1042,
    "h": 304.6
  },
  "luminance": 0.04838
}

Semantic roles & 50–950 ramp

primary
#4E306D
secondary
#7D9E5B
accent
#CF5995
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E306D

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

Preview Lab → · Contrast checker → · Palette generator →

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