#4B34AC#4B34AC

#4B34AC is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.9% C 0.181 H 284.6°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#4B34AC
RGBrgb(75, 52, 172)
HSLhsl(252, 54%, 44%)
HSVhsv(252, 70%, 67%)
CMYKcmyk(56.4%, 69.8%, 0%, 32.5%)
CIE-LABlab(31.65, 42.46, -60.79)
CIE-LCHlch(31.65, 74.15, 304.93°)
OKLaboklab(42.91% 0.0456 -0.1749)
OKLCHoklch(42.91% 0.181 284.6)
XYZxyz(11.5738, 6.9297, 39.7494)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B34AC #95AC34
analogous
#3459AC #4B34AC #8734AC
triadic
#4B34AC #AC4B34 #34AC4B
tetradic
#4B34AC #AC3459 #95AC34 #34AC87
square
#4B34AC #AC3459 #95AC34 #34AC87
split-complementary
#4B34AC #AC8734 #59AC34
monochromatic
#22184E #37267D #4B34AC #6952CB #9281D9

Accessibility & contrast

On white

8.80
#4B34AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4B34AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B34AC
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B34AC#FFFFFF#000000##FFFFFF
##4B34AC1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#1D536C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b34ac;
/* rgb */ color: rgb(75, 52, 172);
/* oklch */ color: oklch(42.9% 0.181 284.6);
Tailwind
colors: {
  custom: {
    50: '#876dc6',
    500: '#4b34ac',
    950: '#000000',
  },
}
SCSS
$custom: #4b34ac;
$custom-light: #876dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b34ac",
  "rgb": {
    "r": 75,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 251.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42913,
    "c": 0.18072,
    "h": 284.6
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#4B34AC
secondary
#B4C279
accent
#DD4BC1
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4B34AC

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

Preview Lab → · Contrast checker → · Palette generator →

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