#4A35AA#4A35AA

#4A35AA is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.8% C 0.177 H 284.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#4A35AA
RGBrgb(74, 53, 170)
HSLhsl(251, 52%, 44%)
HSVhsv(251, 69%, 67%)
CMYKcmyk(56.5%, 68.8%, 0%, 33.3%)
CIE-LABlab(31.59, 41.11, -59.69)
CIE-LCHlch(31.59, 72.48, 304.55°)
OKLaboklab(42.79% 0.0436 -0.1717)
OKLCHoklch(42.79% 0.177 284.3)
XYZxyz(11.3506, 6.9037, 38.7568)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A35AA #95AA35
analogous
#355AAA #4A35AA #8435AA
triadic
#4A35AA #AA4A35 #35AA4A
tetradic
#4A35AA #AA355A #95AA35 #35AA84
square
#4A35AA #AA355A #95AA35 #35AA84
split-complementary
#4A35AA #AA8435 #5AAA35
monochromatic
#21184D #36267B #4A35AA #6853C9 #9182D8

Accessibility & contrast

On white

8.82
#4A35AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4A35AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A35AA
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A35AA#FFFFFF#000000##FFFFFF
##4A35AA1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#1C536B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4a35aa;
/* rgb */ color: rgb(74, 53, 170);
/* oklch */ color: oklch(42.8% 0.177 284.3);
Tailwind
colors: {
  custom: {
    50: '#866ec4',
    500: '#4a35aa',
    950: '#000000',
  },
}
SCSS
$custom: #4a35aa;
$custom-light: #866ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a35aa",
  "rgb": {
    "r": 74,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 250.769,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42794,
    "c": 0.17715,
    "h": 284.3
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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