#4A3EB2#4A3EB2

#4A3EB2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.9% C 0.176 H 281.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4A3EB2
RGBrgb(74, 62, 178)
HSLhsl(246, 48%, 47%)
HSVhsv(246, 65%, 70%)
CMYKcmyk(58.4%, 65.2%, 0%, 30.2%)
CIE-LABlab(34.22, 38.34, -60.16)
CIE-LCHlch(34.22, 71.34, 302.51°)
OKLaboklab(44.91% 0.0345 -0.1731)
OKLCHoklch(44.91% 0.176 281.3)
XYZxyz(12.5800, 8.1146, 43.0142)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A3EB2 #A6B23E
analogous
#3E6CB2 #4A3EB2 #843EB2
triadic
#4A3EB2 #B24A3E #3EB24A
tetradic
#4A3EB2 #B23E6C #A6B23E #3EB284
square
#4A3EB2 #B23E6C #A6B23E #3EB284
split-complementary
#4A3EB2 #B2843E #6CB23E
monochromatic
#241E57 #372E85 #4A3EB2 #6F64C9 #9992D9

Accessibility & contrast

On white

8.01
#4A3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4A3EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A3EB2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A3EB2#FFFFFF#000000##FFFFFF
##4A3EB21.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#095B72
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4a3eb2;
/* rgb */ color: rgb(74, 62, 178);
/* oklch */ color: oklch(44.9% 0.176 281.3);
Tailwind
colors: {
  custom: {
    50: '#8774ca',
    500: '#4a3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #4a3eb2;
$custom-light: #8774ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4a3eb2",
  "rgb": {
    "r": 74,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 246.207,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44906,
    "c": 0.17647,
    "h": 281.3
  },
  "luminance": 0.08115
}

Semantic roles & 50–950 ramp

primary
#4A3EB2
secondary
#BEC488
accent
#D850CA
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4A3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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