#4B397E#4B397E

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

Color values

HEX#4B397E
RGBrgb(75, 57, 126)
HSLhsl(256, 38%, 36%)
HSVhsv(256, 55%, 49%)
CMYKcmyk(40.5%, 54.8%, 0%, 50.6%)
CIE-LABlab(29.23, 25.34, -36.55)
CIE-LCHlch(29.23, 44.48, 304.73°)
OKLaboklab(40.04% 0.0432 -0.1036)
OKLCHoklch(40.04% 0.112 292.6)
XYZxyz(8.1297, 5.9283, 20.4506)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B397E #6C7E39
analogous
#39497E #4B397E #6D397E
triadic
#4B397E #7E4B39 #397E4B
tetradic
#4B397E #7E3949 #6C7E39 #397E6D
square
#4B397E #7E3949 #6C7E39 #397E6D
split-complementary
#4B397E #7E6D39 #497E39
monochromatic
#19132A #322654 #4B397E #644CA8 #8672BF

Accessibility & contrast

On white

9.61
#4B397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4B397E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B397E
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B397E#FFFFFF#000000##FFFFFF
##4B397E1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4680
Deuteranopia (green-blind)
#1F447C
Tritanopia (blue-blind)
#3E4756
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b397e;
/* rgb */ color: rgb(75, 57, 126);
/* oklch */ color: oklch(40.0% 0.112 292.6);
Tailwind
colors: {
  custom: {
    50: '#8070a4',
    500: '#4b397e',
    950: '#000000',
  },
}
SCSS
$custom: #4b397e;
$custom-light: #8070a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b397e",
  "rgb": {
    "r": 75,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 255.652,
    "s": 37.705,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40036,
    "c": 0.11229,
    "h": 292.6
  },
  "luminance": 0.05928
}

Semantic roles & 50–950 ramp

primary
#4B397E
secondary
#98A86A
accent
#CE5AB0
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #4B397E

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

Preview Lab → · Contrast checker → · Palette generator →

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