#4818A1#4818A1

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

Color values

HEX#4818A1
RGBrgb(72, 24, 161)
HSLhsl(261, 74%, 36%)
HSVhsv(261, 85%, 63%)
CMYKcmyk(55.3%, 85.1%, 0%, 36.9%)
CIE-LABlab(25.57, 52.27, -64.14)
CIE-LCHlch(25.57, 82.74, 309.18°)
OKLaboklab(38.26% 0.0644 -0.1845)
OKLCHoklch(38.26% 0.195 289.2)
XYZxyz(9.4303, 4.6037, 34.1030)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4818A1 #71A118
analogous
#182DA1 #4818A1 #8D18A1
triadic
#4818A1 #A14818 #18A148
tetradic
#4818A1 #A1182D #71A118 #18A18D
square
#4818A1 #A1182D #71A118 #18A18D
split-complementary
#4818A1 #A18D18 #2DA118
monochromatic
#180836 #30106C #4818A1 #6020D6 #834FE5

Accessibility & contrast

On white

10.93
#4818A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4818A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4818A1
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4818A1#FFFFFF#000000##FFFFFF
##4818A11.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4818a1;
/* rgb */ color: rgb(72, 24, 161);
/* oklch */ color: oklch(38.3% 0.195 289.2);
Tailwind
colors: {
  custom: {
    50: '#865ebe',
    500: '#4818a1',
    950: '#000000',
  },
}
SCSS
$custom: #4818a1;
$custom-light: #865ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#4818a1",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 261.022,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3826,
    "c": 0.19545,
    "h": 289.2
  },
  "luminance": 0.04604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4818A1

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

Preview Lab → · Contrast checker → · Palette generator →

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