#4A397D#4A397D

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

Color values

HEX#4A397D
RGBrgb(74, 57, 125)
HSLhsl(255, 37%, 36%)
HSVhsv(255, 54%, 49%)
CMYKcmyk(40.8%, 54.4%, 0%, 51%)
CIE-LABlab(29.06, 24.77, -36.20)
CIE-LCHlch(29.06, 43.87, 304.39°)
OKLaboklab(39.87% 0.0418 -0.1026)
OKLCHoklch(39.87% 0.111 292.1)
XYZxyz(7.9878, 5.8626, 20.1088)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A397D #6C7D39
analogous
#394A7D #4A397D #6C397D
triadic
#4A397D #7D4A39 #397D4A
tetradic
#4A397D #7D394A #6C7D39 #397D6C
square
#4A397D #7D394A #6C7D39 #397D6C
split-complementary
#4A397D #7D6C39 #4A7D39
monochromatic
#181329 #312653 #4A397D #634CA7 #8572BF

Accessibility & contrast

On white

9.67
#4A397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4A397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A397D
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A397D#FFFFFF#000000##FFFFFF
##4A397D1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C457F
Deuteranopia (green-blind)
#1F437B
Tritanopia (blue-blind)
#3D4755
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a397d;
/* rgb */ color: rgb(74, 57, 125);
/* oklch */ color: oklch(39.9% 0.111 292.1);
Tailwind
colors: {
  custom: {
    50: '#8070a3',
    500: '#4a397d',
    950: '#000000',
  },
}
SCSS
$custom: #4a397d;
$custom-light: #8070a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a397d",
  "rgb": {
    "r": 74,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 255,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39866,
    "c": 0.11082,
    "h": 292.1
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A397D

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

Preview Lab → · Contrast checker → · Palette generator →

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