#4B34BD#4B34BD

#4B34BD is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.5% C 0.202 H 282.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4B34BD
RGBrgb(75, 52, 189)
HSLhsl(250, 57%, 47%)
HSVhsv(250, 72%, 74%)
CMYKcmyk(60.3%, 72.5%, 0%, 25.9%)
CIE-LABlab(33.19, 47.64, -68.36)
CIE-LCHlch(33.19, 83.32, 304.87°)
OKLaboklab(44.48% 0.0423 -0.197)
OKLCHoklch(44.48% 0.202 282.1)
XYZxyz(13.3121, 7.6250, 48.9045)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B34BD #A6BD34
analogous
#3462BD #4B34BD #9034BD
triadic
#4B34BD #BD4B34 #34BD4B
tetradic
#4B34BD #BD3462 #A6BD34 #34BD90
square
#4B34BD #BD3462 #A6BD34 #34BD90
split-complementary
#4B34BD #BD9034 #62BD34
monochromatic
#251A5D #38278D #4B34BD #705CD2 #9A8CDF

Accessibility & contrast

On white

8.32
#4B34BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4B34BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B34BD
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B34BD#FFFFFF#000000##FFFFFF
##4B34BD1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#005A75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4b34bd;
/* rgb */ color: rgb(75, 52, 189);
/* oklch */ color: oklch(44.5% 0.202 282.1);
Tailwind
colors: {
  custom: {
    50: '#8a6ed2',
    500: '#4b34bd',
    950: '#000000',
  },
}
SCSS
$custom: #4b34bd;
$custom-light: #8a6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b34bd",
  "rgb": {
    "r": 75,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 250.073,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44484,
    "c": 0.20153,
    "h": 282.1
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#4B34BD
secondary
#BECA83
accent
#E048C7
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4B34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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