#4B378D#4B378D

#4B378D is a dark, vivid violet. Relative luminance 0.062; OKLCH L 40.8% C 0.136 H 289.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#4B378D
RGBrgb(75, 55, 141)
HSLhsl(254, 44%, 38%)
HSVhsv(254, 61%, 55%)
CMYKcmyk(46.8%, 61%, 0%, 44.7%)
CIE-LABlab(29.79, 31.15, -44.98)
CIE-LCHlch(29.79, 54.71, 304.70°)
OKLaboklab(40.78% 0.0459 -0.1284)
OKLCHoklch(40.78% 0.136 289.7)
XYZxyz(9.0742, 6.1510, 25.9033)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B378D #798D37
analogous
#374E8D #4B378D #76378D
triadic
#4B378D #8D4B37 #378D4B
tetradic
#4B378D #8D374E #798D37 #378D76
square
#4B378D #8D374E #798D37 #378D76
split-complementary
#4B378D #8D7637 #4E8D37
monochromatic
#1C1535 #342661 #4B378D #6349B8 #8975C9

Accessibility & contrast

On white

9.42
#4B378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4B378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B378D
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B378D#FFFFFF#000000##FFFFFF
##4B378D1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#374A5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b378d;
/* rgb */ color: rgb(75, 55, 141);
/* oklch */ color: oklch(40.8% 0.136 289.7);
Tailwind
colors: {
  custom: {
    50: '#836faf',
    500: '#4b378d',
    950: '#000000',
  },
}
SCSS
$custom: #4b378d;
$custom-light: #836faf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b378d",
  "rgb": {
    "r": 75,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 253.953,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40783,
    "c": 0.13637,
    "h": 289.7
  },
  "luminance": 0.06151
}

Semantic roles & 50–950 ramp

primary
#4B378D
secondary
#A2B26E
accent
#D454B6
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4B378D

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

Preview Lab → · Contrast checker → · Palette generator →

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