#4A2183#4A2183

#4A2183 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.153 H 297.2°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#4A2183
RGBrgb(74, 33, 131)
HSLhsl(265, 60%, 32%)
HSVhsv(265, 75%, 51%)
CMYKcmyk(43.5%, 74.8%, 0%, 48.6%)
CIE-LABlab(24.26, 40.56, -47.73)
CIE-LCHlch(24.26, 62.63, 310.36°)
OKLaboklab(36.52% 0.0702 -0.1365)
OKLCHoklch(36.52% 0.153 297.2)
XYZxyz(7.4636, 4.1821, 21.8823)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2183 #5A8321
analogous
#212983 #4A2183 #7B2183
triadic
#4A2183 #834A21 #21834A
tetradic
#4A2183 #832129 #5A8321 #21837B
square
#4A2183 #832129 #5A8321 #21837B
split-complementary
#4A2183 #837B21 #298321
monochromatic
#130821 #2E1552 #4A2183 #662DB4 #844CD2

Accessibility & contrast

On white

11.44
#4A2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4A2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2183
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2183#FFFFFF#000000##FFFFFF
##4A21831.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#3B3A50
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4a2183;
/* rgb */ color: rgb(74, 33, 131);
/* oklch */ color: oklch(36.5% 0.153 297.2);
Tailwind
colors: {
  custom: {
    50: '#8260a8',
    500: '#4a2183',
    950: '#000000',
  },
}
SCSS
$custom: #4a2183;
$custom-light: #8260a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2183",
  "rgb": {
    "r": 74,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 265.102,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36522,
    "c": 0.15348,
    "h": 297.2
  },
  "luminance": 0.04182
}

Semantic roles & 50–950 ramp

primary
#4A2183
secondary
#89B54B
accent
#E345A1
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A2183

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

Preview Lab → · Contrast checker → · Palette generator →

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