#4B34BB#4B34BB

#4B34BB is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.199 H 282.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4B34BB
RGBrgb(75, 52, 187)
HSLhsl(250, 56%, 47%)
HSVhsv(250, 72%, 73%)
CMYKcmyk(59.9%, 72.2%, 0%, 26.7%)
CIE-LABlab(33.00, 47.03, -67.48)
CIE-LCHlch(33.00, 82.25, 304.87°)
OKLaboklab(44.3% 0.0427 -0.1945)
OKLCHoklch(44.3% 0.199 282.4)
XYZxyz(13.0965, 7.5388, 47.7691)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B34BB #A4BB34
analogous
#3461BB #4B34BB #8F34BB
triadic
#4B34BB #BB4B34 #34BB4B
tetradic
#4B34BB #BB3461 #A4BB34 #34BB8F
square
#4B34BB #BB3461 #A4BB34 #34BB8F
split-complementary
#4B34BB #BB8F34 #61BB34
monochromatic
#25195B #38278B #4B34BB #6F5BD1 #998BDF

Accessibility & contrast

On white

8.37
#4B34BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4B34BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B34BB
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B34BB#FFFFFF#000000##FFFFFF
##4B34BB1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0049B8
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4b34bb;
/* rgb */ color: rgb(75, 52, 187);
/* oklch */ color: oklch(44.3% 0.199 282.4);
Tailwind
colors: {
  custom: {
    50: '#8a6ed1',
    500: '#4b34bb',
    950: '#000000',
  },
}
SCSS
$custom: #4b34bb;
$custom-light: #8a6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b34bb",
  "rgb": {
    "r": 75,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 250.222,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44296,
    "c": 0.19911,
    "h": 282.4
  },
  "luminance": 0.0754
}

Semantic roles & 50–950 ramp

primary
#4B34BB
secondary
#BDC982
accent
#E048C6
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4B34BB

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

Preview Lab → · Contrast checker → · Palette generator →

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