#4B38C3#4B38C3

#4B38C3 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.6% C 0.205 H 280.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#4B38C3
RGBrgb(75, 56, 195)
HSLhsl(248, 55%, 49%)
HSVhsv(248, 71%, 76%)
CMYKcmyk(61.5%, 71.3%, 0%, 23.5%)
CIE-LABlab(34.53, 47.30, -69.69)
CIE-LCHlch(34.53, 84.22, 304.17°)
OKLaboklab(45.6% 0.0382 -0.2009)
OKLCHoklch(45.6% 0.205 280.8)
XYZxyz(14.1630, 8.2633, 52.4678)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38C3 #B0C338
analogous
#386BC3 #4B38C3 #9038C3
triadic
#4B38C3 #C34B38 #38C34B
tetradic
#4B38C3 #C3386B #B0C338 #38C390
square
#4B38C3 #C3386B #B0C338 #38C390
split-complementary
#4B38C3 #C39038 #6BC338
monochromatic
#261D64 #392A93 #4B38C3 #7465D3 #9F95E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B38C3#FFFFFF#000000##FFFFFF
##4B38C31.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)
#0056C7
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4b38c3;
/* rgb */ color: rgb(75, 56, 195);
/* oklch */ color: oklch(45.6% 0.205 280.8);
Tailwind
colors: {
  custom: {
    50: '#8b71d6',
    500: '#4b38c3',
    950: '#000000',
  },
}
SCSS
$custom: #4b38c3;
$custom-light: #8b71d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38c3",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 248.201,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45603,
    "c": 0.20453,
    "h": 280.8
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#4B38C3
secondary
#C3CC8B
accent
#DF49CA
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4B38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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