#4A38C3#4A38C3

#4A38C3 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.5% C 0.205 H 280.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#4A38C3
RGBrgb(74, 56, 195)
HSLhsl(248, 55%, 49%)
HSVhsv(248, 71%, 76%)
CMYKcmyk(62.1%, 71.3%, 0%, 23.5%)
CIE-LABlab(34.44, 47.16, -69.82)
CIE-LCHlch(34.44, 84.26, 304.04°)
OKLaboklab(45.53% 0.0368 -0.2014)
OKLCHoklch(45.53% 0.205 280.4)
XYZxyz(14.0854, 8.2233, 52.4642)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A38C3 #B1C338
analogous
#386CC3 #4A38C3 #9038C3
triadic
#4A38C3 #C34A38 #38C34A
tetradic
#4A38C3 #C3386C #B1C338 #38C390
square
#4A38C3 #C3386C #B1C338 #38C390
split-complementary
#4A38C3 #C39038 #6CC338
monochromatic
#261D64 #382A93 #4A38C3 #7465D3 #9F95E1

Accessibility & contrast

On white

7.94
#4A38C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4A38C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A38C3
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A38C3#FFFFFF#000000##FFFFFF
##4A38C31.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.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: #4a38c3;
/* rgb */ color: rgb(74, 56, 195);
/* oklch */ color: oklch(45.5% 0.205 280.4);
Tailwind
colors: {
  custom: {
    50: '#8b71d6',
    500: '#4a38c3',
    950: '#000000',
  },
}
SCSS
$custom: #4a38c3;
$custom-light: #8b71d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a38c3",
  "rgb": {
    "r": 74,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 247.77,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45525,
    "c": 0.20471,
    "h": 280.4
  },
  "luminance": 0.08224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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