#4C3389#4C3389

#4C3389 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.9% C 0.137 H 292.5°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#4C3389
RGBrgb(76, 51, 137)
HSLhsl(257, 46%, 37%)
HSVhsv(257, 63%, 54%)
CMYKcmyk(44.5%, 62.8%, 0%, 46.3%)
CIE-LABlab(28.67, 32.61, -44.31)
CIE-LCHlch(28.67, 55.02, 306.35°)
OKLaboklab(39.89% 0.0523 -0.1264)
OKLCHoklch(39.89% 0.137 292.5)
XYZxyz(8.6784, 5.7100, 24.3070)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3389 #708933
analogous
#334589 #4C3389 #773389
triadic
#4C3389 #894C33 #33894C
tetradic
#4C3389 #893345 #708933 #338977
square
#4C3389 #893345 #708933 #338977
split-complementary
#4C3389 #897733 #458933
monochromatic
#1B1230 #33225C #4C3389 #6544B6 #886EC9

Accessibility & contrast

On white

9.80
#4C3389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4C3389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3389
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3389#FFFFFF#000000##FFFFFF
##4C33891.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#3B4659
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4c3389;
/* rgb */ color: rgb(76, 51, 137);
/* oklch */ color: oklch(39.9% 0.137 292.5);
Tailwind
colors: {
  custom: {
    50: '#836cac',
    500: '#4c3389',
    950: '#000000',
  },
}
SCSS
$custom: #4c3389;
$custom-light: #836cac;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3389",
  "rgb": {
    "r": 76,
    "g": 51,
    "b": 137
  },
  "hsl": {
    "h": 257.442,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39894,
    "c": 0.13683,
    "h": 292.5
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

primary
#4C3389
secondary
#9BB167
accent
#D552AF
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4C3389

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

Preview Lab → · Contrast checker → · Palette generator →

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