#4B34B3#4B34B3

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

Color values

HEX#4B34B3
RGBrgb(75, 52, 179)
HSLhsl(251, 55%, 45%)
HSVhsv(251, 71%, 70%)
CMYKcmyk(58.1%, 70.9%, 0%, 29.8%)
CIE-LABlab(32.27, 44.59, -63.94)
CIE-LCHlch(32.27, 77.96, 304.89°)
OKLaboklab(43.55% 0.0443 -0.1841)
OKLCHoklch(43.55% 0.189 283.5)
XYZxyz(12.2638, 7.2057, 43.3837)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B34B3 #9CB334
analogous
#345DB3 #4B34B3 #8A34B3
triadic
#4B34B3 #B34B34 #34B34B
tetradic
#4B34B3 #B3345D #9CB334 #34B38A
square
#4B34B3 #B3345D #9CB334 #34B38A
split-complementary
#4B34B3 #B38A34 #5DB334
monochromatic
#231854 #372684 #4B34B3 #6C56CE #9586DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B34B3#FFFFFF#000000##FFFFFF
##4B34B31.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)
#0050B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#105670
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4b34b3;
/* rgb */ color: rgb(75, 52, 179);
/* oklch */ color: oklch(43.6% 0.189 283.5);
Tailwind
colors: {
  custom: {
    50: '#896ecb',
    500: '#4b34b3',
    950: '#000000',
  },
}
SCSS
$custom: #4b34b3;
$custom-light: #896ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b34b3",
  "rgb": {
    "r": 75,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 250.866,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43551,
    "c": 0.18937,
    "h": 283.5
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

primary
#4B34B3
secondary
#B8C57D
accent
#DE49C3
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4B34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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