#4B3286#4B3286

#4B3286 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.4% C 0.134 H 292.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#4B3286
RGBrgb(75, 50, 134)
HSLhsl(258, 46%, 36%)
HSVhsv(258, 63%, 53%)
CMYKcmyk(44%, 62.7%, 0%, 47.5%)
CIE-LABlab(28.11, 32.10, -43.36)
CIE-LCHlch(28.11, 53.94, 306.51°)
OKLaboklab(39.39% 0.0523 -0.1236)
OKLCHoklch(39.39% 0.134 292.9)
XYZxyz(8.3442, 5.4981, 23.1712)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B3286 #6D8632
analogous
#324386 #4B3286 #753286
triadic
#4B3286 #864B32 #32864B
tetradic
#4B3286 #863243 #6D8632 #328675
square
#4B3286 #863243 #6D8632 #328675
split-complementary
#4B3286 #867532 #438632
monochromatic
#19112D #322159 #4B3286 #6443B3 #866BC8

Accessibility & contrast

On white

10.00
#4B3286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4B3286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B3286
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B3286#FFFFFF#000000##FFFFFF
##4B32861.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#004184
Tritanopia (blue-blind)
#3B4557
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b3286;
/* rgb */ color: rgb(75, 50, 134);
/* oklch */ color: oklch(39.4% 0.134 292.9);
Tailwind
colors: {
  custom: {
    50: '#826baa',
    500: '#4b3286',
    950: '#000000',
  },
}
SCSS
$custom: #4b3286;
$custom-light: #826baa;
$custom-dark: #000000;
JSON
{
  "hex": "#4b3286",
  "rgb": {
    "r": 75,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 257.857,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39389,
    "c": 0.13424,
    "h": 292.9
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

primary
#4B3286
secondary
#99AF64
accent
#D552AE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4B3286

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

Preview Lab → · Contrast checker → · Palette generator →

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