#4818A0#4818A0

#4818A0 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.194 H 289.5°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#4818A0
RGBrgb(72, 24, 160)
HSLhsl(261, 74%, 36%)
HSVhsv(261, 85%, 63%)
CMYKcmyk(55%, 85%, 0%, 37.3%)
CIE-LABlab(25.47, 52.01, -63.71)
CIE-LCHlch(25.47, 82.24, 309.23°)
OKLaboklab(38.16% 0.0647 -0.1833)
OKLCHoklch(38.16% 0.194 289.5)
XYZxyz(9.3424, 4.5686, 33.6404)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4818A0 #70A018
analogous
#182CA0 #4818A0 #8C18A0
triadic
#4818A0 #A04818 #18A048
tetradic
#4818A0 #A0182C #70A018 #18A08C
square
#4818A0 #A0182C #70A018 #18A08C
split-complementary
#4818A0 #A08C18 #2CA018
monochromatic
#180836 #30106B #4818A0 #6020D5 #834EE4

Accessibility & contrast

On white

10.97
#4818A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4818A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4818A0
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4818A0#FFFFFF#000000##FFFFFF
##4818A01.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#24435F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4818a0;
/* rgb */ color: rgb(72, 24, 160);
/* oklch */ color: oklch(38.2% 0.194 289.5);
Tailwind
colors: {
  custom: {
    50: '#865dbd',
    500: '#4818a0',
    950: '#000000',
  },
}
SCSS
$custom: #4818a0;
$custom-light: #865dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4818a0",
  "rgb": {
    "r": 72,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 261.176,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38156,
    "c": 0.19438,
    "h": 289.5
  },
  "luminance": 0.04569
}

Semantic roles & 50–950 ramp

primary
#4818A0
secondary
#9CC64D
accent
#F137AF
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4818A0

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

Preview Lab → · Contrast checker → · Palette generator →

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