#4A2483#4A2483

#4A2483 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.150 H 296.6°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#4A2483
RGBrgb(74, 36, 131)
HSLhsl(264, 57%, 33%)
HSVhsv(264, 73%, 51%)
CMYKcmyk(43.5%, 72.5%, 0%, 48.6%)
CIE-LABlab(24.82, 39.01, -46.83)
CIE-LCHlch(24.82, 60.95, 309.80°)
OKLaboklab(36.91% 0.0671 -0.1339)
OKLCHoklch(36.91% 0.15 296.6)
XYZxyz(7.5506, 4.3561, 21.9113)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2483 #5D8324
analogous
#242E83 #4A2483 #792483
triadic
#4A2483 #834A24 #24834A
tetradic
#4A2483 #83242E #5D8324 #248379
square
#4A2483 #83242E #5D8324 #248379
split-complementary
#4A2483 #837924 #2E8324
monochromatic
#140A23 #2F1753 #4A2483 #6531B3 #8452CF

Accessibility & contrast

On white

11.22
#4A2483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4A2483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2483
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2483#FFFFFF#000000##FFFFFF
##4A24831.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#3B3C51
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4a2483;
/* rgb */ color: rgb(74, 36, 131);
/* oklch */ color: oklch(36.9% 0.150 296.6);
Tailwind
colors: {
  custom: {
    50: '#8262a8',
    500: '#4a2483',
    950: '#000000',
  },
}
SCSS
$custom: #4a2483;
$custom-light: #8262a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2483",
  "rgb": {
    "r": 74,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 264,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36913,
    "c": 0.14976,
    "h": 296.6
  },
  "luminance": 0.04356
}

Semantic roles & 50–950 ramp

primary
#4A2483
secondary
#8BB34F
accent
#E048A3
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A2483

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

Preview Lab → · Contrast checker → · Palette generator →

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