#4918A1#4918A1

#4918A1 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.4% C 0.195 H 289.7°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#4918A1
RGBrgb(73, 24, 161)
HSLhsl(261, 74%, 36%)
HSVhsv(261, 85%, 63%)
CMYKcmyk(54.7%, 85.1%, 0%, 36.9%)
CIE-LABlab(25.69, 52.38, -63.95)
CIE-LCHlch(25.69, 82.66, 309.32°)
OKLaboklab(38.37% 0.066 -0.1839)
OKLCHoklch(38.37% 0.195 289.7)
XYZxyz(9.5054, 4.6425, 34.1065)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4918A1 #70A118
analogous
#182CA1 #4918A1 #8E18A1
triadic
#4918A1 #A14918 #18A149
tetradic
#4918A1 #A1182C #70A118 #18A18E
square
#4918A1 #A1182C #70A118 #18A18E
split-complementary
#4918A1 #A18E18 #2CA118
monochromatic
#190836 #31106C #4918A1 #6120D6 #844FE5

Accessibility & contrast

On white

10.89
#4918A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4918A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4918A1
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4918A1#FFFFFF#000000##FFFFFF
##4918A11.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#003A9F
Tritanopia (blue-blind)
#26435F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4918a1;
/* rgb */ color: rgb(73, 24, 161);
/* oklch */ color: oklch(38.4% 0.195 289.7);
Tailwind
colors: {
  custom: {
    50: '#875ebe',
    500: '#4918a1',
    950: '#000000',
  },
}
SCSS
$custom: #4918a1;
$custom-light: #875ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#4918a1",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 261.46,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38366,
    "c": 0.19542,
    "h": 289.7
  },
  "luminance": 0.04643
}

Semantic roles & 50–950 ramp

primary
#4918A1
secondary
#9CC74E
accent
#F137AE
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4918A1

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

Preview Lab → · Contrast checker → · Palette generator →

#4918A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva