#4E306F#4E306F

#4E306F is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.7% C 0.107 H 303.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#4E306F
RGBrgb(78, 48, 111)
HSLhsl(269, 40%, 31%)
HSVhsv(269, 57%, 44%)
CMYKcmyk(29.7%, 56.8%, 0%, 56.5%)
CIE-LABlab(26.39, 27.52, -31.57)
CIE-LCHlch(26.39, 41.88, 311.08°)
OKLaboklab(37.7% 0.0593 -0.0889)
OKLCHoklch(37.7% 0.107 303.7)
XYZxyz(7.0674, 4.8813, 15.6057)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E306F #516F30
analogous
#30316F #4E306F #6D306F
triadic
#4E306F #6F4E30 #306F4E
tetradic
#4E306F #6F3031 #516F30 #306F6D
square
#4E306F #6F3031 #516F30 #306F6D
split-complementary
#4E306F #6F6D30 #316F30
monochromatic
#120B1A #301E44 #4E306F #6C429A #8B5FBA

Accessibility & contrast

On white

10.63
#4E306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4E306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E306F
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E306F#FFFFFF#000000##FFFFFF
##4E306F1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3E71
Deuteranopia (green-blind)
#233E6D
Tritanopia (blue-blind)
#483C4A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e306f;
/* rgb */ color: rgb(78, 48, 111);
/* oklch */ color: oklch(37.7% 0.107 303.7);
Tailwind
colors: {
  custom: {
    50: '#826999',
    500: '#4e306f',
    950: '#000000',
  },
}
SCSS
$custom: #4e306f;
$custom-light: #826999;
$custom-dark: #000000;
JSON
{
  "hex": "#4e306f",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 268.571,
    "s": 39.623,
    "l": 31.176
  },
  "oklch": {
    "l": 0.377,
    "c": 0.10689,
    "h": 303.7
  },
  "luminance": 0.04881
}

Semantic roles & 50–950 ramp

primary
#4E306F
secondary
#7FA05B
accent
#D05897
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E306F

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

Preview Lab → · Contrast checker → · Palette generator →

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