#4A38AE#4A38AE

#4A38AE is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.6% C 0.179 H 283.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#4A38AE
RGBrgb(74, 56, 174)
HSLhsl(249, 51%, 45%)
HSVhsv(249, 68%, 68%)
CMYKcmyk(57.5%, 67.8%, 0%, 31.8%)
CIE-LABlab(32.57, 40.62, -60.48)
CIE-LCHlch(32.57, 72.86, 303.89°)
OKLaboklab(43.61% 0.0403 -0.174)
OKLCHoklch(43.61% 0.179 283.1)
XYZxyz(11.8758, 7.3394, 40.8271)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A38AE #9CAE38
analogous
#3861AE #4A38AE #8538AE
triadic
#4A38AE #AE4A38 #38AE4A
tetradic
#4A38AE #AE3861 #9CAE38 #38AE85
square
#4A38AE #AE3861 #9CAE38 #38AE85
split-complementary
#4A38AE #AE8538 #61AE38
monochromatic
#231A51 #362980 #4A38AE #6B59CA #9488D9

Accessibility & contrast

On white

8.51
#4A38AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4A38AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A38AE
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A38AE#FFFFFF#000000##FFFFFF
##4A38AE1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#15566E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a38ae;
/* rgb */ color: rgb(74, 56, 174);
/* oklch */ color: oklch(43.6% 0.179 283.1);
Tailwind
colors: {
  custom: {
    50: '#8770c7',
    500: '#4a38ae',
    950: '#000000',
  },
}
SCSS
$custom: #4a38ae;
$custom-light: #8770c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a38ae",
  "rgb": {
    "r": 74,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 249.153,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43606,
    "c": 0.17862,
    "h": 283.1
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#4A38AE
secondary
#B8C37F
accent
#DB4DC5
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4A38AE

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

Preview Lab → · Contrast checker → · Palette generator →

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