#4B2180#4B2180

#4B2180 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.150 H 298.8°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#4B2180
RGBrgb(75, 33, 128)
HSLhsl(267, 59%, 32%)
HSVhsv(267, 74%, 50%)
CMYKcmyk(41.4%, 74.2%, 0%, 49.8%)
CIE-LABlab(24.14, 39.93, -46.04)
CIE-LCHlch(24.14, 60.95, 310.94°)
OKLaboklab(36.38% 0.0724 -0.1315)
OKLCHoklch(36.38% 0.15 298.8)
XYZxyz(7.3408, 4.1420, 20.8306)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2180 #568021
analogous
#212780 #4B2180 #7B2180
triadic
#4B2180 #804B21 #21804B
tetradic
#4B2180 #802127 #568021 #21807B
square
#4B2180 #802127 #568021 #21807B
split-complementary
#4B2180 #807B21 #278021
monochromatic
#12081F #2E144F #4B2180 #682EB1 #864BD1

Accessibility & contrast

On white

11.49
#4B2180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4B2180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2180
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2180#FFFFFF#000000##FFFFFF
##4B21801.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#3E394E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b2180;
/* rgb */ color: rgb(75, 33, 128);
/* oklch */ color: oklch(36.4% 0.150 298.8);
Tailwind
colors: {
  custom: {
    50: '#8360a6',
    500: '#4b2180',
    950: '#000000',
  },
}
SCSS
$custom: #4b2180;
$custom-light: #8360a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2180",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 266.526,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36379,
    "c": 0.1501,
    "h": 298.8
  },
  "luminance": 0.04142
}

Semantic roles & 50–950 ramp

primary
#4B2180
secondary
#84B34A
accent
#E2469D
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4B2180

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

Preview Lab → · Contrast checker → · Palette generator →

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