#4C3BA6#4C3BA6

#4C3BA6 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.6% C 0.164 H 284.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4C3BA6
RGBrgb(76, 59, 166)
HSLhsl(250, 48%, 44%)
HSVhsv(250, 64%, 65%)
CMYKcmyk(54.2%, 64.5%, 0%, 34.9%)
CIE-LABlab(32.74, 36.69, -55.41)
CIE-LCHlch(32.74, 66.45, 303.51°)
OKLaboklab(43.57% 0.0412 -0.159)
OKLCHoklch(43.57% 0.164 284.5)
XYZxyz(11.4253, 7.4170, 36.8986)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3BA6 #95A63B
analogous
#3B60A6 #4C3BA6 #823BA6
triadic
#4C3BA6 #A64C3B #3BA64C
tetradic
#4C3BA6 #A63B60 #95A63B #3BA682
square
#4C3BA6 #A63B60 #95A63B #3BA682
split-complementary
#4C3BA6 #A6823B #60A63B
monochromatic
#231B4C #372B79 #4C3BA6 #6B5AC4 #9387D4

Accessibility & contrast

On white

8.46
#4C3BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4C3BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3BA6
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3BA6#FFFFFF#000000##FFFFFF
##4C3BA61.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#26556B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c3ba6;
/* rgb */ color: rgb(76, 59, 166);
/* oklch */ color: oklch(43.6% 0.164 284.5);
Tailwind
colors: {
  custom: {
    50: '#8672c1',
    500: '#4c3ba6',
    950: '#000000',
  },
}
SCSS
$custom: #4c3ba6;
$custom-light: #8672c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3ba6",
  "rgb": {
    "r": 76,
    "g": 59,
    "b": 166
  },
  "hsl": {
    "h": 249.533,
    "s": 47.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43566,
    "c": 0.16429,
    "h": 284.5
  },
  "luminance": 0.07418
}

Semantic roles & 50–950 ramp

primary
#4C3BA6
secondary
#B4BF7E
accent
#D751C2
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4C3BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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