#4A1B85#4A1B85

#4A1B85 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.163 H 297.6°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#4A1B85
RGBrgb(74, 27, 133)
HSLhsl(267, 66%, 31%)
HSVhsv(267, 80%, 52%)
CMYKcmyk(44.4%, 79.7%, 0%, 47.8%)
CIE-LABlab(23.45, 43.93, -50.32)
CIE-LCHlch(23.45, 66.80, 311.12°)
OKLaboklab(36% 0.0752 -0.144)
OKLCHoklch(36% 0.163 297.6)
XYZxyz(7.4485, 3.9330, 22.5525)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1B85 #56851B
analogous
#1B2185 #4A1B85 #7F1B85
triadic
#4A1B85 #854A1B #1B854A
tetradic
#4A1B85 #851B21 #56851B #1B857F
square
#4A1B85 #851B21 #56851B #1B857F
split-complementary
#4A1B85 #857F1B #21851B
monochromatic
#11061F #2E1152 #4A1B85 #6625B8 #8542D9

Accessibility & contrast

On white

11.75
#4A1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4A1B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1B85
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1B85#FFFFFF#000000##FFFFFF
##4A1B851.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#3B384F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4a1b85;
/* rgb */ color: rgb(74, 27, 133);
/* oklch */ color: oklch(36.0% 0.163 297.6);
Tailwind
colors: {
  custom: {
    50: '#835da9',
    500: '#4a1b85',
    950: '#000000',
  },
}
SCSS
$custom: #4a1b85;
$custom-light: #835da9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1b85",
  "rgb": {
    "r": 74,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 266.604,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36004,
    "c": 0.1625,
    "h": 297.6
  },
  "luminance": 0.03933
}

Semantic roles & 50–950 ramp

primary
#4A1B85
secondary
#85B844
accent
#E93F9E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #4A1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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