#4B35A3#4B35A3

#4B35A3 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.168 H 285.9°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#4B35A3
RGBrgb(75, 53, 163)
HSLhsl(252, 51%, 42%)
HSVhsv(252, 67%, 64%)
CMYKcmyk(54%, 67.5%, 0%, 36.1%)
CIE-LABlab(31.08, 39.12, -56.31)
CIE-LCHlch(31.08, 68.56, 304.79°)
OKLaboklab(42.27% 0.0461 -0.1617)
OKLCHoklch(42.27% 0.168 285.9)
XYZxyz(10.7836, 6.6858, 35.3655)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B35A3 #8DA335
analogous
#3556A3 #4B35A3 #8235A3
triadic
#4B35A3 #A34B35 #35A34B
tetradic
#4B35A3 #A33556 #8DA335 #35A382
square
#4B35A3 #A33556 #8DA335 #35A382
split-complementary
#4B35A3 #A38235 #56A335
monochromatic
#211747 #362675 #4B35A3 #674FC6 #8F7ED5

Accessibility & contrast

On white

8.99
#4B35A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4B35A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B35A3
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B35A3#FFFFFF#000000##FFFFFF
##4B35A31.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#275167
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b35a3;
/* rgb */ color: rgb(75, 53, 163);
/* oklch */ color: oklch(42.3% 0.168 285.9);
Tailwind
colors: {
  custom: {
    50: '#866ebf',
    500: '#4b35a3',
    950: '#000000',
  },
}
SCSS
$custom: #4b35a3;
$custom-light: #866ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b35a3",
  "rgb": {
    "r": 75,
    "g": 53,
    "b": 163
  },
  "hsl": {
    "h": 252,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42267,
    "c": 0.16815,
    "h": 285.9
  },
  "luminance": 0.06686
}

Semantic roles & 50–950 ramp

primary
#4B35A3
secondary
#B0BE76
accent
#DA4DBE
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4B35A3

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

Preview Lab → · Contrast checker → · Palette generator →

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