#4A34B3#4A34B3

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

Color values

HEX#4A34B3
RGBrgb(74, 52, 179)
HSLhsl(250, 55%, 45%)
HSVhsv(250, 71%, 70%)
CMYKcmyk(58.7%, 70.9%, 0%, 29.8%)
CIE-LABlab(32.18, 44.45, -64.09)
CIE-LCHlch(32.18, 78.00, 304.74°)
OKLaboklab(43.47% 0.0429 -0.1846)
OKLCHoklch(43.47% 0.19 283.1)
XYZxyz(12.1862, 7.1657, 43.3801)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34B3 #9DB334
analogous
#345DB3 #4A34B3 #8A34B3
triadic
#4A34B3 #B34A34 #34B34A
tetradic
#4A34B3 #B3345D #9DB334 #34B38A
square
#4A34B3 #B3345D #9DB334 #34B38A
split-complementary
#4A34B3 #B38A34 #5DB334
monochromatic
#231854 #362684 #4A34B3 #6B56CE #9586DC

Accessibility & contrast

On white

8.63
#4A34B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4A34B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A34B3
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A34B3#FFFFFF#000000##FFFFFF
##4A34B31.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a34b3;
/* rgb */ color: rgb(74, 52, 179);
/* oklch */ color: oklch(43.5% 0.190 283.1);
Tailwind
colors: {
  custom: {
    50: '#886ecb',
    500: '#4a34b3',
    950: '#000000',
  },
}
SCSS
$custom: #4a34b3;
$custom-light: #886ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34b3",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 250.394,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43465,
    "c": 0.18951,
    "h": 283.1
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#4A34B3
secondary
#B9C57D
accent
#DE49C5
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4A34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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