#4B378C#4B378C

#4B378C is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.7% C 0.135 H 289.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#4B378C
RGBrgb(75, 55, 140)
HSLhsl(254, 44%, 38%)
HSVhsv(254, 61%, 55%)
CMYKcmyk(46.4%, 60.7%, 0%, 45.1%)
CIE-LABlab(29.72, 30.84, -44.48)
CIE-LCHlch(29.72, 54.13, 304.74°)
OKLaboklab(40.71% 0.046 -0.1269)
OKLCHoklch(40.71% 0.135 289.9)
XYZxyz(9.0001, 6.1214, 25.5132)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B378C #788C37
analogous
#374D8C #4B378C #75378C
triadic
#4B378C #8C4B37 #378C4B
tetradic
#4B378C #8C374D #788C37 #378C75
square
#4B378C #8C374D #788C37 #378C75
split-complementary
#4B378C #8C7537 #4D8C37
monochromatic
#1C1434 #332660 #4B378C #6349B7 #8875C9

Accessibility & contrast

On white

9.44
#4B378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4B378C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B378C
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B378C#FFFFFF#000000##FFFFFF
##4B378C1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#374A5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b378c;
/* rgb */ color: rgb(75, 55, 140);
/* oklch */ color: oklch(40.7% 0.135 289.9);
Tailwind
colors: {
  custom: {
    50: '#826eae',
    500: '#4b378c',
    950: '#000000',
  },
}
SCSS
$custom: #4b378c;
$custom-light: #826eae;
$custom-dark: #000000;
JSON
{
  "hex": "#4b378c",
  "rgb": {
    "r": 75,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 254.118,
    "s": 43.59,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40706,
    "c": 0.13501,
    "h": 289.9
  },
  "luminance": 0.06122
}

Semantic roles & 50–950 ramp

primary
#4B378C
secondary
#A1B16D
accent
#D354B5
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4B378C

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

Preview Lab → · Contrast checker → · Palette generator →

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