#4B389E#4B389E

#4B389E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.3% C 0.158 H 286.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4B389E
RGBrgb(75, 56, 158)
HSLhsl(251, 48%, 42%)
HSVhsv(251, 65%, 62%)
CMYKcmyk(52.5%, 64.6%, 0%, 38%)
CIE-LABlab(31.33, 35.80, -52.88)
CIE-LCHlch(31.33, 63.85, 304.10°)
OKLaboklab(42.32% 0.0437 -0.1516)
OKLCHoklch(42.32% 0.158 286.1)
XYZxyz(10.4855, 6.7923, 33.0997)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B389E #8B9E38
analogous
#38589E #4B389E #7E389E
triadic
#4B389E #9E4B38 #389E4B
tetradic
#4B389E #9E3858 #8B9E38 #389E7E
square
#4B389E #9E3858 #8B9E38 #389E7E
split-complementary
#4B389E #9E7E38 #589E38
monochromatic
#201844 #362871 #4B389E #6652C2 #8E7FD2

Accessibility & contrast

On white

8.90
#4B389E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4B389E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B389E
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B389E#FFFFFF#000000##FFFFFF
##4B389E1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#2B5166
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b389e;
/* rgb */ color: rgb(75, 56, 158);
/* oklch */ color: oklch(42.3% 0.158 286.1);
Tailwind
colors: {
  custom: {
    50: '#8570bb',
    500: '#4b389e',
    950: '#000000',
  },
}
SCSS
$custom: #4b389e;
$custom-light: #8570bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b389e",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 251.176,
    "s": 47.664,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42319,
    "c": 0.1578,
    "h": 286.1
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#4B389E
secondary
#AEBB77
accent
#D751BE
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4B389E

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

Preview Lab → · Contrast checker → · Palette generator →

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