#4B2175#4B2175

#4B2175 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.137 H 302.8°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#4B2175
RGBrgb(75, 33, 117)
HSLhsl(270, 56%, 29%)
HSVhsv(270, 72%, 46%)
CMYKcmyk(35.9%, 71.8%, 0%, 54.1%)
CIE-LABlab(23.23, 36.99, -40.52)
CIE-LCHlch(23.23, 54.87, 312.39°)
OKLaboklab(35.45% 0.0744 -0.1153)
OKLCHoklch(35.45% 0.137 302.8)
XYZxyz(6.6556, 3.8679, 17.2221)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2175 #4B7521
analogous
#212175 #4B2175 #752175
triadic
#4B2175 #754B21 #21754B
tetradic
#4B2175 #752121 #4B7521 #217575
square
#4B2175 #752121 #4B7521 #217575
split-complementary
#4B2175 #757521 #217521
monochromatic
#0F0718 #2C1445 #4B2175 #6A2EA5 #8846CB

Accessibility & contrast

On white

11.84
#4B2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4B2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2175
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2175#FFFFFF#000000##FFFFFF
##4B21751.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#433448
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b2175;
/* rgb */ color: rgb(75, 33, 117);
/* oklch */ color: oklch(35.5% 0.137 302.8);
Tailwind
colors: {
  custom: {
    50: '#81609d',
    500: '#4b2175',
    950: '#000000',
  },
}
SCSS
$custom: #4b2175;
$custom-light: #81609d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2175",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 270,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35451,
    "c": 0.1372,
    "h": 302.8
  },
  "luminance": 0.03868
}

Semantic roles & 50–950 ramp

primary
#4B2175
secondary
#79A84A
accent
#DF4994
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4B2175

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

Preview Lab → · Contrast checker → · Palette generator →

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