#4B398D#4B398D

#4B398D is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.1% C 0.133 H 289.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4B398D
RGBrgb(75, 57, 141)
HSLhsl(253, 42%, 39%)
HSVhsv(253, 60%, 55%)
CMYKcmyk(46.8%, 59.6%, 0%, 44.7%)
CIE-LABlab(30.27, 29.91, -44.21)
CIE-LCHlch(30.27, 53.37, 304.08°)
OKLaboklab(41.13% 0.0435 -0.1262)
OKLCHoklch(41.13% 0.133 289)
XYZxyz(9.1711, 6.3448, 25.9356)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B398D #7B8D39
analogous
#39518D #4B398D #75398D
triadic
#4B398D #8D4B39 #398D4B
tetradic
#4B398D #8D3951 #7B8D39 #398D75
square
#4B398D #8D3951 #7B8D39 #398D75
split-complementary
#4B398D #8D7539 #518D39
monochromatic
#1D1636 #342761 #4B398D #634CB7 #8978C8

Accessibility & contrast

On white

9.26
#4B398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4B398D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B398D
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B398D#FFFFFF#000000##FFFFFF
##4B398D1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#01458B
Tritanopia (blue-blind)
#374C5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b398d;
/* rgb */ color: rgb(75, 57, 141);
/* oklch */ color: oklch(41.1% 0.133 289.0);
Tailwind
colors: {
  custom: {
    50: '#8270af',
    500: '#4b398d',
    950: '#000000',
  },
}
SCSS
$custom: #4b398d;
$custom-light: #8270af;
$custom-dark: #000000;
JSON
{
  "hex": "#4b398d",
  "rgb": {
    "r": 75,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 252.857,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41133,
    "c": 0.13344,
    "h": 289
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#4B398D
secondary
#A4B270
accent
#D256B8
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4B398D

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

Preview Lab → · Contrast checker → · Palette generator →

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