#4B2273#4B2273

#4B2273 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.133 H 303.4°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#4B2273
RGBrgb(75, 34, 115)
HSLhsl(270, 54%, 29%)
HSVhsv(270, 70%, 45%)
CMYKcmyk(34.8%, 70.4%, 0%, 54.9%)
CIE-LABlab(23.26, 35.94, -39.19)
CIE-LCHlch(23.26, 53.17, 312.52°)
OKLaboklab(35.43% 0.0735 -0.1114)
OKLCHoklch(35.43% 0.133 303.4)
XYZxyz(6.5675, 3.8777, 16.6188)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2273 #4A7322
analogous
#232273 #4B2273 #732273
triadic
#4B2273 #734B22 #22734B
tetradic
#4B2273 #732322 #4A7322 #227373
square
#4B2273 #732322 #4A7322 #227373
split-complementary
#4B2273 #737322 #227323
monochromatic
#0F0718 #2C1444 #4B2273 #6A30A2 #8947C9

Accessibility & contrast

On white

11.83
#4B2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4B2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2273
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2273#FFFFFF#000000##FFFFFF
##4B22731.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#023771
Tritanopia (blue-blind)
#433447
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b2273;
/* rgb */ color: rgb(75, 34, 115);
/* oklch */ color: oklch(35.4% 0.133 303.4);
Tailwind
colors: {
  custom: {
    50: '#81609c',
    500: '#4b2273',
    950: '#000000',
  },
}
SCSS
$custom: #4b2273;
$custom-light: #81609c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2273",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 270.37,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35425,
    "c": 0.13343,
    "h": 303.4
  },
  "luminance": 0.03878
}

Semantic roles & 50–950 ramp

primary
#4B2273
secondary
#78A64B
accent
#DE4A93
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4B2273

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

Preview Lab → · Contrast checker → · Palette generator →

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