#4A35B5#4A35B5

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

Color values

HEX#4A35B5
RGBrgb(74, 53, 181)
HSLhsl(250, 55%, 46%)
HSVhsv(250, 71%, 71%)
CMYKcmyk(59.1%, 70.7%, 0%, 29%)
CIE-LABlab(32.56, 44.50, -64.66)
CIE-LCHlch(32.56, 78.49, 304.54°)
OKLaboklab(43.79% 0.0417 -0.1862)
OKLCHoklch(43.79% 0.191 282.6)
XYZxyz(12.4350, 7.3374, 44.4681)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A35B5 #A0B535
analogous
#3560B5 #4A35B5 #8A35B5
triadic
#4A35B5 #B54A35 #35B54A
tetradic
#4A35B5 #B53560 #A0B535 #35B58A
square
#4A35B5 #B53560 #A0B535 #35B58A
split-complementary
#4A35B5 #B58A35 #60B535
monochromatic
#231956 #372786 #4A35B5 #6C59CE #9688DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A35B5#FFFFFF#000000##FFFFFF
##4A35B51.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)
#0051B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#025771
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a35b5;
/* rgb */ color: rgb(74, 53, 181);
/* oklch */ color: oklch(43.8% 0.191 282.6);
Tailwind
colors: {
  custom: {
    50: '#886ecc',
    500: '#4a35b5',
    950: '#000000',
  },
}
SCSS
$custom: #4a35b5;
$custom-light: #886ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a35b5",
  "rgb": {
    "r": 74,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 249.844,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43793,
    "c": 0.19085,
    "h": 282.6
  },
  "luminance": 0.07338
}

Semantic roles & 50–950 ramp

primary
#4A35B5
secondary
#BBC680
accent
#DE4AC6
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4A35B5

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

Preview Lab → · Contrast checker → · Palette generator →

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