#4B2283#4B2283

#4B2283 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.152 H 297.7°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#4B2283
RGBrgb(75, 34, 131)
HSLhsl(265, 59%, 32%)
HSVhsv(265, 74%, 51%)
CMYKcmyk(42.7%, 74%, 0%, 48.6%)
CIE-LABlab(24.57, 40.24, -47.22)
CIE-LCHlch(24.57, 62.04, 310.44°)
OKLaboklab(36.77% 0.0707 -0.135)
OKLCHoklch(36.77% 0.152 297.7)
XYZxyz(7.5694, 4.2785, 21.8954)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2283 #5A8322
analogous
#222983 #4B2283 #7C2283
triadic
#4B2283 #834B22 #22834B
tetradic
#4B2283 #832229 #5A8322 #22837C
square
#4B2283 #832229 #5A8322 #22837C
split-complementary
#4B2283 #837C22 #298322
monochromatic
#130922 #2F1552 #4B2283 #672FB4 #864ED1

Accessibility & contrast

On white

11.32
#4B2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4B2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2283
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2283#FFFFFF#000000##FFFFFF
##4B22831.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#3D3A50
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b2283;
/* rgb */ color: rgb(75, 34, 131);
/* oklch */ color: oklch(36.8% 0.152 297.7);
Tailwind
colors: {
  custom: {
    50: '#8361a8',
    500: '#4b2283',
    950: '#000000',
  },
}
SCSS
$custom: #4b2283;
$custom-light: #8361a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2283",
  "rgb": {
    "r": 75,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 265.361,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36768,
    "c": 0.15238,
    "h": 297.7
  },
  "luminance": 0.04279
}

Semantic roles & 50–950 ramp

primary
#4B2283
secondary
#88B44C
accent
#E246A0
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B2283

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

Preview Lab → · Contrast checker → · Palette generator →

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