#4B3779#4B3779

#4B3779 is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.3% C 0.108 H 294.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#4B3779
RGBrgb(75, 55, 121)
HSLhsl(258, 38%, 35%)
HSVhsv(258, 55%, 47%)
CMYKcmyk(38%, 54.5%, 0%, 52.5%)
CIE-LABlab(28.40, 25.13, -34.74)
CIE-LCHlch(28.40, 42.87, 305.88°)
OKLaboklab(39.32% 0.0456 -0.0983)
OKLCHoklch(39.32% 0.108 294.9)
XYZxyz(7.7181, 5.6086, 18.7614)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B3779 #657937
analogous
#374479 #4B3779 #6C3779
triadic
#4B3779 #794B37 #37794B
tetradic
#4B3779 #793744 #657937 #37796C
square
#4B3779 #793744 #657937 #37796C
split-complementary
#4B3779 #796C37 #447937
monochromatic
#171125 #31244F #4B3779 #654AA3 #866EBD

Accessibility & contrast

On white

9.90
#4B3779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4B3779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B3779
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B3779#FFFFFF#000000##FFFFFF
##4B37791.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C447B
Deuteranopia (green-blind)
#214277
Tritanopia (blue-blind)
#404452
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b3779;
/* rgb */ color: rgb(75, 55, 121);
/* oklch */ color: oklch(39.3% 0.108 294.9);
Tailwind
colors: {
  custom: {
    50: '#806ea0',
    500: '#4b3779',
    950: '#000000',
  },
}
SCSS
$custom: #4b3779;
$custom-light: #806ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b3779",
  "rgb": {
    "r": 75,
    "g": 55,
    "b": 121
  },
  "hsl": {
    "h": 258.182,
    "s": 37.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39315,
    "c": 0.1084,
    "h": 294.9
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#4B3779
secondary
#92A666
accent
#CD5AAB
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0A070F
muted
#7C7A7E

Preview Lab

Preview with #4B3779

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

Preview Lab → · Contrast checker → · Palette generator →

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