#4B2073#4B2073

#4B2073 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.136 H 303.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#4B2073
RGBrgb(75, 32, 115)
HSLhsl(271, 56%, 29%)
HSVhsv(271, 72%, 45%)
CMYKcmyk(34.8%, 72.2%, 0%, 54.9%)
CIE-LABlab(22.88, 36.99, -39.80)
CIE-LCHlch(22.88, 54.34, 312.90°)
OKLaboklab(35.15% 0.0759 -0.1131)
OKLCHoklch(35.15% 0.136 303.8)
XYZxyz(6.5120, 3.7667, 16.6003)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2073 #487320
analogous
#212073 #4B2073 #732072
triadic
#4B2073 #734B20 #20734B
tetradic
#4B2073 #732120 #487320 #207273
square
#4B2073 #732120 #487320 #207273
split-complementary
#4B2073 #727320 #207321
monochromatic
#100718 #2C1343 #4B2073 #6A2DA3 #8943CB

Accessibility & contrast

On white

11.98
#4B2073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4B2073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2073
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2073#FFFFFF#000000##FFFFFF
##4B20731.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#433347
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b2073;
/* rgb */ color: rgb(75, 32, 115);
/* oklch */ color: oklch(35.2% 0.136 303.8);
Tailwind
colors: {
  custom: {
    50: '#815f9c',
    500: '#4b2073',
    950: '#000000',
  },
}
SCSS
$custom: #4b2073;
$custom-light: #815f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2073",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 271.084,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35154,
    "c": 0.13623,
    "h": 303.8
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#4B2073
secondary
#76A748
accent
#E04891
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4B2073

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

Preview Lab → · Contrast checker → · Palette generator →

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