#4B3F79#4B3F79

#4B3F79 is a dark, moderate violet. Relative luminance 0.064; OKLCH L 40.9% C 0.095 H 291.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#4B3F79
RGBrgb(75, 63, 121)
HSLhsl(252, 32%, 36%)
HSVhsv(252, 48%, 47%)
CMYKcmyk(38%, 47.9%, 0%, 52.5%)
CIE-LABlab(30.48, 19.97, -31.43)
CIE-LCHlch(30.48, 37.24, 302.43°)
OKLaboklab(40.87% 0.0342 -0.0886)
OKLCHoklch(40.87% 0.095 291.1)
XYZxyz(8.1294, 6.4311, 18.8985)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B3F79 #6D793F
analogous
#3F5079 #4B3F79 #683F79
triadic
#4B3F79 #794B3F #3F794B
tetradic
#4B3F79 #793F50 #6D793F #3F7968
square
#4B3F79 #793F50 #6D793F #3F7968
split-complementary
#4B3F79 #79683F #50793F
monochromatic
#191529 #322A51 #4B3F79 #6454A1 #8679B9

Accessibility & contrast

On white

9.19
#4B3F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4B3F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B3F79
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B3F79#FFFFFF#000000##FFFFFF
##4B3F791.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497B
Deuteranopia (green-blind)
#2C4778
Tritanopia (blue-blind)
#3F4A56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b3f79;
/* rgb */ color: rgb(75, 63, 121);
/* oklch */ color: oklch(40.9% 0.095 291.1);
Tailwind
colors: {
  custom: {
    50: '#8074a0',
    500: '#4b3f79',
    950: '#000000',
  },
}
SCSS
$custom: #4b3f79;
$custom-light: #8074a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b3f79",
  "rgb": {
    "r": 75,
    "g": 63,
    "b": 121
  },
  "hsl": {
    "h": 252.414,
    "s": 31.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40866,
    "c": 0.09502,
    "h": 291.1
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#4B3F79
secondary
#99A470
accent
#C860B2
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4B3F79

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

Preview Lab → · Contrast checker → · Palette generator →

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