#4C3BBB#4C3BBB

#4C3BBB is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.4% C 0.191 H 281.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#4C3BBB
RGBrgb(76, 59, 187)
HSLhsl(248, 52%, 48%)
HSVhsv(248, 68%, 73%)
CMYKcmyk(59.4%, 68.4%, 0%, 26.7%)
CIE-LABlab(34.50, 43.27, -65.02)
CIE-LCHlch(34.50, 78.11, 303.64°)
OKLaboklab(45.39% 0.0386 -0.1873)
OKLCHoklch(45.39% 0.191 281.6)
XYZxyz(13.5113, 8.2514, 47.8848)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3BBB #AABB3B
analogous
#3B6ABB #4C3BBB #8C3BBB
triadic
#4C3BBB #BB4C3B #3BBB4C
tetradic
#4C3BBB #BB3B6A #AABB3B #3BBB8C
square
#4C3BBB #BB3B6A #AABB3B #3BBB8C
split-complementary
#4C3BBB #BB8C3B #6ABB3B
monochromatic
#261E5E #392C8C #4C3BBB #7365CE #9D93DD

Accessibility & contrast

On white

7.92
#4C3BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4C3BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3BBB
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3BBB#FFFFFF#000000##FFFFFF
##4C3BBB1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c3bbb;
/* rgb */ color: rgb(76, 59, 187);
/* oklch */ color: oklch(45.4% 0.191 281.6);
Tailwind
colors: {
  custom: {
    50: '#8a72d1',
    500: '#4c3bbb',
    950: '#000000',
  },
}
SCSS
$custom: #4c3bbb;
$custom-light: #8a72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3bbb",
  "rgb": {
    "r": 76,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 247.969,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45387,
    "c": 0.1912,
    "h": 281.6
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#4C3BBB
secondary
#C0C88A
accent
#DB4CC8
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4C3BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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