#4A35B2#4A35B2

#4A35B2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.187 H 283.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#4A35B2
RGBrgb(74, 53, 178)
HSLhsl(250, 54%, 45%)
HSVhsv(250, 70%, 70%)
CMYKcmyk(58.4%, 70.2%, 0%, 30.2%)
CIE-LABlab(32.29, 43.58, -63.32)
CIE-LCHlch(32.29, 76.87, 304.54°)
OKLaboklab(43.52% 0.0423 -0.1823)
OKLCHoklch(43.52% 0.187 283)
XYZxyz(12.1305, 7.2156, 42.8644)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A35B2 #9DB235
analogous
#355EB2 #4A35B2 #8835B2
triadic
#4A35B2 #B24A35 #35B24A
tetradic
#4A35B2 #B2355E #9DB235 #35B288
square
#4A35B2 #B2355E #9DB235 #35B288
split-complementary
#4A35B2 #B28835 #5EB235
monochromatic
#231954 #362783 #4A35B2 #6B57CD #9586DB

Accessibility & contrast

On white

8.60
#4A35B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4A35B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A35B2
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A35B2#FFFFFF#000000##FFFFFF
##4A35B21.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#0C566F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a35b2;
/* rgb */ color: rgb(74, 53, 178);
/* oklch */ color: oklch(43.5% 0.187 283.0);
Tailwind
colors: {
  custom: {
    50: '#886eca',
    500: '#4a35b2',
    950: '#000000',
  },
}
SCSS
$custom: #4a35b2;
$custom-light: #886eca;
$custom-dark: #000000;
JSON
{
  "hex": "#4a35b2",
  "rgb": {
    "r": 74,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 250.08,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43517,
    "c": 0.18715,
    "h": 283
  },
  "luminance": 0.07216
}

Semantic roles & 50–950 ramp

primary
#4A35B2
secondary
#B9C57E
accent
#DD4AC5
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4A35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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