#4A35B3#4A35B3

#4A35B3 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.6% C 0.188 H 282.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#4A35B3
RGBrgb(74, 53, 179)
HSLhsl(250, 54%, 45%)
HSVhsv(250, 70%, 70%)
CMYKcmyk(58.7%, 70.4%, 0%, 29.8%)
CIE-LABlab(32.38, 43.89, -63.76)
CIE-LCHlch(32.38, 77.41, 304.54°)
OKLaboklab(43.61% 0.0421 -0.1836)
OKLCHoklch(43.61% 0.188 282.9)
XYZxyz(12.2313, 7.2559, 43.3951)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A35B3 #9EB335
analogous
#355FB3 #4A35B3 #8935B3
triadic
#4A35B3 #B34A35 #35B34A
tetradic
#4A35B3 #B3355F #9EB335 #35B389
square
#4A35B3 #B3355F #9EB335 #35B389
split-complementary
#4A35B3 #B38935 #5FB335
monochromatic
#231955 #362784 #4A35B3 #6B58CD #9587DB

Accessibility & contrast

On white

8.57
#4A35B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4A35B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A35B3
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A35B3#FFFFFF#000000##FFFFFF
##4A35B31.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#095770
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a35b3;
/* rgb */ color: rgb(74, 53, 179);
/* oklch */ color: oklch(43.6% 0.188 282.9);
Tailwind
colors: {
  custom: {
    50: '#886ecb',
    500: '#4a35b3',
    950: '#000000',
  },
}
SCSS
$custom: #4a35b3;
$custom-light: #886ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a35b3",
  "rgb": {
    "r": 74,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 250,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43609,
    "c": 0.18839,
    "h": 282.9
  },
  "luminance": 0.07257
}

Semantic roles & 50–950 ramp

primary
#4A35B3
secondary
#B9C57F
accent
#DE4AC5
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4A35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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