#4A35AF#4A35AF

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

Color values

HEX#4A35AF
RGBrgb(74, 53, 175)
HSLhsl(250, 54%, 45%)
HSVhsv(250, 70%, 69%)
CMYKcmyk(57.7%, 69.7%, 0%, 31.4%)
CIE-LABlab(32.03, 42.65, -61.97)
CIE-LCHlch(32.03, 75.23, 304.54°)
OKLaboklab(43.24% 0.0428 -0.1784)
OKLCHoklch(43.24% 0.183 283.5)
XYZxyz(11.8326, 7.0965, 41.2954)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A35AF #9AAF35
analogous
#355DAF #4A35AF #8735AF
triadic
#4A35AF #AF4A35 #35AF4A
tetradic
#4A35AF #AF355D #9AAF35 #35AF87
square
#4A35AF #AF355D #9AAF35 #35AF87
split-complementary
#4A35AF #AF8735 #5DAF35
monochromatic
#221951 #362780 #4A35AF #6A56CC #9385DA

Accessibility & contrast

On white

8.68
#4A35AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4A35AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A35AF
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A35AF#FFFFFF#000000##FFFFFF
##4A35AF1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#13556E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a35af;
/* rgb */ color: rgb(74, 53, 175);
/* oklch */ color: oklch(43.2% 0.183 283.5);
Tailwind
colors: {
  custom: {
    50: '#876ec8',
    500: '#4a35af',
    950: '#000000',
  },
}
SCSS
$custom: #4a35af;
$custom-light: #876ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a35af",
  "rgb": {
    "r": 74,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 250.328,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43244,
    "c": 0.18342,
    "h": 283.5
  },
  "luminance": 0.07097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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