#4A35AE#4A35AE

#4A35AE is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.2% C 0.182 H 283.6°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#4A35AE
RGBrgb(74, 53, 174)
HSLhsl(250, 53%, 45%)
HSVhsv(250, 70%, 68%)
CMYKcmyk(57.5%, 69.5%, 0%, 31.8%)
CIE-LABlab(31.94, 42.35, -61.51)
CIE-LCHlch(31.94, 74.68, 304.54°)
OKLaboklab(43.15% 0.043 -0.177)
OKLCHoklch(43.15% 0.182 283.6)
XYZxyz(11.7348, 7.0573, 40.7800)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A35AE #99AE35
analogous
#355DAE #4A35AE #8735AE
triadic
#4A35AE #AE4A35 #35AE4A
tetradic
#4A35AE #AE355D #99AE35 #35AE87
square
#4A35AE #AE355D #99AE35 #35AE87
split-complementary
#4A35AE #AE8735 #5DAE35
monochromatic
#221850 #36277F #4A35AE #6A55CB #9384DA

Accessibility & contrast

On white

8.71
#4A35AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4A35AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A35AE
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A35AE#FFFFFF#000000##FFFFFF
##4A35AE1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#15556D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a35ae;
/* rgb */ color: rgb(74, 53, 174);
/* oklch */ color: oklch(43.2% 0.182 283.6);
Tailwind
colors: {
  custom: {
    50: '#876ec7',
    500: '#4a35ae',
    950: '#000000',
  },
}
SCSS
$custom: #4a35ae;
$custom-light: #876ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a35ae",
  "rgb": {
    "r": 74,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 250.413,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43153,
    "c": 0.18218,
    "h": 283.6
  },
  "luminance": 0.07058
}

Semantic roles & 50–950 ramp

primary
#4A35AE
secondary
#B7C37C
accent
#DD4BC3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4A35AE

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

Preview Lab → · Contrast checker → · Palette generator →

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