#4B397C#4B397C

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

Color values

HEX#4B397C
RGBrgb(75, 57, 124)
HSLhsl(256, 37%, 35%)
HSVhsv(256, 54%, 49%)
CMYKcmyk(39.5%, 54%, 0%, 51.4%)
CIE-LABlab(29.10, 24.74, -35.51)
CIE-LCHlch(29.10, 43.28, 304.87°)
OKLaboklab(39.9% 0.0431 -0.1006)
OKLCHoklch(39.9% 0.109 293.2)
XYZxyz(8.0019, 5.8772, 19.7777)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B397C #6A7C39
analogous
#39487C #4B397C #6C397C
triadic
#4B397C #7C4B39 #397C4B
tetradic
#4B397C #7C3948 #6A7C39 #397C6C
square
#4B397C #7C3948 #6A7C39 #397C6C
split-complementary
#4B397C #7C6C39 #487C39
monochromatic
#181228 #322652 #4B397C #644CA6 #8671BE

Accessibility & contrast

On white

9.65
#4B397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B397C
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B397C#FFFFFF#000000##FFFFFF
##4B397C1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D457E
Deuteranopia (green-blind)
#21437A
Tritanopia (blue-blind)
#3F4755
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b397c;
/* rgb */ color: rgb(75, 57, 124);
/* oklch */ color: oklch(39.9% 0.109 293.2);
Tailwind
colors: {
  custom: {
    50: '#8070a2',
    500: '#4b397c',
    950: '#000000',
  },
}
SCSS
$custom: #4b397c;
$custom-light: #8070a2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b397c",
  "rgb": {
    "r": 75,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 256.119,
    "s": 37.017,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39897,
    "c": 0.10941,
    "h": 293.2
  },
  "luminance": 0.05877
}

Semantic roles & 50–950 ramp

primary
#4B397C
secondary
#97A76A
accent
#CD5BAE
background
#F8F6FA
surface
#EFECF3
border
#CAC7CD
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #4B397C

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

Preview Lab → · Contrast checker → · Palette generator →

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