#4C3087#4C3087

#4C3087 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.2% C 0.139 H 293.9°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4C3087
RGBrgb(76, 48, 135)
HSLhsl(259, 48%, 36%)
HSVhsv(259, 64%, 53%)
CMYKcmyk(43.7%, 64.4%, 0%, 47.1%)
CIE-LABlab(27.84, 33.82, -44.40)
CIE-LCHlch(27.84, 55.81, 307.29°)
OKLaboklab(39.25% 0.0561 -0.1267)
OKLCHoklch(39.25% 0.139 293.9)
XYZxyz(8.4094, 5.3995, 23.5161)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3087 #6B8730
analogous
#303F87 #4C3087 #773087
triadic
#4C3087 #874C30 #30874C
tetradic
#4C3087 #87303F #6B8730 #308777
square
#4C3087 #87303F #6B8730 #308777
split-complementary
#4C3087 #877730 #3F8730
monochromatic
#19102D #33205A #4C3087 #6540B4 #8768C9

Accessibility & contrast

On white

10.10
#4C3087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4C3087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3087
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3087#FFFFFF#000000##FFFFFF
##4C30871.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#3C4457
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c3087;
/* rgb */ color: rgb(76, 48, 135);
/* oklch */ color: oklch(39.2% 0.139 293.9);
Tailwind
colors: {
  custom: {
    50: '#836aab',
    500: '#4c3087',
    950: '#000000',
  },
}
SCSS
$custom: #4c3087;
$custom-light: #836aab;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3087",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 259.31,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39245,
    "c": 0.13855,
    "h": 293.9
  },
  "luminance": 0.054
}

Semantic roles & 50–950 ramp

primary
#4C3087
secondary
#97B162
accent
#D751AC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4C3087

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

Preview Lab → · Contrast checker → · Palette generator →

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