#4A1E83#4A1E83

#4A1E83 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.157 H 297.7°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#4A1E83
RGBrgb(74, 30, 131)
HSLhsl(266, 63%, 32%)
HSVhsv(266, 77%, 51%)
CMYKcmyk(43.5%, 77.1%, 0%, 48.6%)
CIE-LABlab(23.75, 42.02, -48.57)
CIE-LCHlch(23.75, 64.23, 310.87°)
OKLaboklab(36.16% 0.0731 -0.1389)
OKLCHoklch(36.16% 0.157 297.7)
XYZxyz(7.3840, 4.0230, 21.8558)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1E83 #57831E
analogous
#1E2483 #4A1E83 #7D1E83
triadic
#4A1E83 #834A1E #1E834A
tetradic
#4A1E83 #831E24 #57831E #1E837D
square
#4A1E83 #831E24 #57831E #1E837D
split-complementary
#4A1E83 #837D1E #24831E
monochromatic
#12071F #2E1351 #4A1E83 #6629B5 #8547D5

Accessibility & contrast

On white

11.64
#4A1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4A1E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1E83
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1E83#FFFFFF#000000##FFFFFF
##4A1E831.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#3B384F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4a1e83;
/* rgb */ color: rgb(74, 30, 131);
/* oklch */ color: oklch(36.2% 0.157 297.7);
Tailwind
colors: {
  custom: {
    50: '#825fa8',
    500: '#4a1e83',
    950: '#000000',
  },
}
SCSS
$custom: #4a1e83;
$custom-light: #825fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1e83",
  "rgb": {
    "r": 74,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 266.139,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36157,
    "c": 0.157,
    "h": 297.7
  },
  "luminance": 0.04023
}

Semantic roles & 50–950 ramp

primary
#4A1E83
secondary
#86B647
accent
#E6429E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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