#4B36B4#4B36B4

#4B36B4 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.188 H 283.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4B36B4
RGBrgb(75, 54, 180)
HSLhsl(250, 54%, 46%)
HSVhsv(250, 70%, 71%)
CMYKcmyk(58.3%, 70%, 0%, 29.4%)
CIE-LABlab(32.76, 43.79, -63.73)
CIE-LCHlch(32.76, 77.32, 304.49°)
OKLaboklab(43.93% 0.0425 -0.1835)
OKLCHoklch(43.93% 0.188 283)
XYZxyz(12.4565, 7.4287, 43.9487)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B36B4 #9FB436
analogous
#3660B4 #4B36B4 #8A36B4
triadic
#4B36B4 #B44B36 #36B44B
tetradic
#4B36B4 #B43660 #9FB436 #36B48A
square
#4B36B4 #B43660 #9FB436 #36B48A
split-complementary
#4B36B4 #B48A36 #60B436
monochromatic
#241A56 #372885 #4B36B4 #6D5ACD #9789DC

Accessibility & contrast

On white

8.45
#4B36B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4B36B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B36B4
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B36B4#FFFFFF#000000##FFFFFF
##4B36B41.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#0D5771
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b36b4;
/* rgb */ color: rgb(75, 54, 180);
/* oklch */ color: oklch(43.9% 0.188 283.0);
Tailwind
colors: {
  custom: {
    50: '#896fcc',
    500: '#4b36b4',
    950: '#000000',
  },
}
SCSS
$custom: #4b36b4;
$custom-light: #896fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b36b4",
  "rgb": {
    "r": 75,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 250,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4393,
    "c": 0.18835,
    "h": 283
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#4B36B4
secondary
#BAC680
accent
#DD4BC5
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4B36B4

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

Preview Lab → · Contrast checker → · Palette generator →

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