#4A1A83#4A1A83

#4A1A83 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.161 H 298.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#4A1A83
RGBrgb(74, 26, 131)
HSLhsl(267, 67%, 31%)
HSVhsv(267, 80%, 51%)
CMYKcmyk(43.5%, 80.2%, 0%, 48.6%)
CIE-LABlab(23.11, 43.84, -49.61)
CIE-LCHlch(23.11, 66.21, 311.47°)
OKLaboklab(35.71% 0.0767 -0.142)
OKLCHoklch(35.71% 0.161 298.4)
XYZxyz(7.2891, 3.8332, 21.8242)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1A83 #53831A
analogous
#1A1E83 #4A1A83 #7E1A83
triadic
#4A1A83 #834A1A #1A834A
tetradic
#4A1A83 #831A1E #53831A #1A837E
square
#4A1A83 #831A1E #53831A #1A837E
split-complementary
#4A1A83 #837E1A #1E831A
monochromatic
#10061D #2D1050 #4A1A83 #6724B6 #853FD9

Accessibility & contrast

On white

11.89
#4A1A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4A1A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1A83
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1A83#FFFFFF#000000##FFFFFF
##4A1A831.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#3C374E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4a1a83;
/* rgb */ color: rgb(74, 26, 131);
/* oklch */ color: oklch(35.7% 0.161 298.4);
Tailwind
colors: {
  custom: {
    50: '#835da8',
    500: '#4a1a83',
    950: '#000000',
  },
}
SCSS
$custom: #4a1a83;
$custom-light: #835da8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1a83",
  "rgb": {
    "r": 74,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 267.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35712,
    "c": 0.16134,
    "h": 298.4
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#4A1A83
secondary
#81B742
accent
#EA3E9B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #4A1A83

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

Preview Lab → · Contrast checker → · Palette generator →

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