#4A35A9#4A35A9

#4A35A9 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.7% C 0.176 H 284.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4A35A9
RGBrgb(74, 53, 169)
HSLhsl(251, 52%, 44%)
HSVhsv(251, 69%, 66%)
CMYKcmyk(56.2%, 68.6%, 0%, 33.7%)
CIE-LABlab(31.50, 40.80, -59.24)
CIE-LCHlch(31.50, 71.93, 304.56°)
OKLaboklab(42.71% 0.0438 -0.1703)
OKLCHoklch(42.71% 0.176 284.4)
XYZxyz(11.2564, 6.8660, 38.2605)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A35A9 #94A935
analogous
#355AA9 #4A35A9 #8435A9
triadic
#4A35A9 #A94A35 #35A94A
tetradic
#4A35A9 #A9355A #94A935 #35A984
square
#4A35A9 #A9355A #94A935 #35A984
split-complementary
#4A35A9 #A98435 #5AA935
monochromatic
#21184C #36267A #4A35A9 #6852C9 #9181D7

Accessibility & contrast

On white

8.85
#4A35A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4A35A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A35A9
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A35A9#FFFFFF#000000##FFFFFF
##4A35A91.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#1D536A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4a35a9;
/* rgb */ color: rgb(74, 53, 169);
/* oklch */ color: oklch(42.7% 0.176 284.4);
Tailwind
colors: {
  custom: {
    50: '#866ec4',
    500: '#4a35a9',
    950: '#000000',
  },
}
SCSS
$custom: #4a35a9;
$custom-light: #866ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a35a9",
  "rgb": {
    "r": 74,
    "g": 53,
    "b": 169
  },
  "hsl": {
    "h": 250.862,
    "s": 52.252,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42705,
    "c": 0.17588,
    "h": 284.4
  },
  "luminance": 0.06867
}

Semantic roles & 50–950 ramp

primary
#4A35A9
secondary
#B4C179
accent
#DC4CC2
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4A35A9

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

Preview Lab → · Contrast checker → · Palette generator →

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