#4A35B1#4A35B1

#4A35B1 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.4% C 0.186 H 283.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4A35B1
RGBrgb(74, 53, 177)
HSLhsl(250, 54%, 45%)
HSVhsv(250, 70%, 69%)
CMYKcmyk(58.2%, 70.1%, 0%, 30.6%)
CIE-LABlab(32.20, 43.27, -62.87)
CIE-LCHlch(32.20, 76.32, 304.54°)
OKLaboklab(43.43% 0.0424 -0.181)
OKLCHoklch(43.43% 0.186 283.2)
XYZxyz(12.0305, 7.1756, 42.3375)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A35B1 #9CB135
analogous
#355EB1 #4A35B1 #8835B1
triadic
#4A35B1 #B14A35 #35B14A
tetradic
#4A35B1 #B1355E #9CB135 #35B188
square
#4A35B1 #B1355E #9CB135 #35B188
split-complementary
#4A35B1 #B18835 #5EB135
monochromatic
#231953 #362782 #4A35B1 #6B57CD #9486DB

Accessibility & contrast

On white

8.62
#4A35B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4A35B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A35B1
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A35B1#FFFFFF#000000##FFFFFF
##4A35B11.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#0F566F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a35b1;
/* rgb */ color: rgb(74, 53, 177);
/* oklch */ color: oklch(43.4% 0.186 283.2);
Tailwind
colors: {
  custom: {
    50: '#886ec9',
    500: '#4a35b1',
    950: '#000000',
  },
}
SCSS
$custom: #4a35b1;
$custom-light: #886ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a35b1",
  "rgb": {
    "r": 74,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 250.161,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43426,
    "c": 0.18591,
    "h": 283.2
  },
  "luminance": 0.07176
}

Semantic roles & 50–950 ramp

primary
#4A35B1
secondary
#B8C47D
accent
#DD4BC4
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4A35B1

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

Preview Lab → · Contrast checker → · Palette generator →

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