#4B397D#4B397D

#4B397D is a dark, moderate violet. Relative luminance 0.059; OKLCH L 40.0% C 0.111 H 292.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#4B397D
RGBrgb(75, 57, 125)
HSLhsl(256, 37%, 36%)
HSVhsv(256, 54%, 49%)
CMYKcmyk(40%, 54.4%, 0%, 51%)
CIE-LABlab(29.17, 25.04, -36.03)
CIE-LCHlch(29.17, 43.88, 304.80°)
OKLaboklab(39.97% 0.0431 -0.1021)
OKLCHoklch(39.97% 0.111 292.9)
XYZxyz(8.0655, 5.9026, 20.1124)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B397D #6B7D39
analogous
#39497D #4B397D #6D397D
triadic
#4B397D #7D4B39 #397D4B
tetradic
#4B397D #7D3949 #6B7D39 #397D6D
square
#4B397D #7D3949 #6B7D39 #397D6D
split-complementary
#4B397D #7D6D39 #497D39
monochromatic
#191329 #322653 #4B397D #644CA7 #8672BF

Accessibility & contrast

On white

9.63
#4B397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4B397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B397D
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B397D#FFFFFF#000000##FFFFFF
##4B397D1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C467F
Deuteranopia (green-blind)
#20437B
Tritanopia (blue-blind)
#3E4755
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b397d;
/* rgb */ color: rgb(75, 57, 125);
/* oklch */ color: oklch(40.0% 0.111 292.9);
Tailwind
colors: {
  custom: {
    50: '#8070a3',
    500: '#4b397d',
    950: '#000000',
  },
}
SCSS
$custom: #4b397d;
$custom-light: #8070a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b397d",
  "rgb": {
    "r": 75,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 255.882,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39966,
    "c": 0.11085,
    "h": 292.9
  },
  "luminance": 0.05903
}

Semantic roles & 50–950 ramp

primary
#4B397D
secondary
#97A86A
accent
#CD5AAF
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #4B397D

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

Preview Lab → · Contrast checker → · Palette generator →

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