#4918B4#4918B4

#4918B4 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.4% C 0.216 H 285.8°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4918B4
RGBrgb(73, 24, 180)
HSLhsl(259, 76%, 40%)
HSVhsv(259, 87%, 71%)
CMYKcmyk(59.4%, 86.7%, 0%, 29.4%)
CIE-LABlab(27.75, 57.36, -72.00)
CIE-LCHlch(27.75, 92.05, 308.54°)
OKLaboklab(40.38% 0.0585 -0.2074)
OKLCHoklch(40.38% 0.216 285.8)
XYZxyz(11.3100, 5.3643, 43.6106)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4918B4 #83B418
analogous
#1835B4 #4918B4 #9718B4
triadic
#4918B4 #B44918 #18B449
tetradic
#4918B4 #B41835 #83B418 #18B497
square
#4918B4 #B41835 #83B418 #18B497
split-complementary
#4918B4 #B49718 #35B418
monochromatic
#1D0A48 #33117E #4918B4 #6227E2 #895DE9

Accessibility & contrast

On white

10.13
#4918B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4918B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4918B4
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4918B4#FFFFFF#000000##FFFFFF
##4918B41.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#044B6A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4918b4;
/* rgb */ color: rgb(73, 24, 180);
/* oklch */ color: oklch(40.4% 0.216 285.8);
Tailwind
colors: {
  custom: {
    50: '#8a5fcc',
    500: '#4918b4',
    950: '#000000',
  },
}
SCSS
$custom: #4918b4;
$custom-light: #8a5fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4918b4",
  "rgb": {
    "r": 73,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 258.846,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.40379,
    "c": 0.21552,
    "h": 285.8
  },
  "luminance": 0.05365
}

Semantic roles & 50–950 ramp

primary
#4918B4
secondary
#A9CD5B
accent
#F335B7
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #4918B4

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

Preview Lab → · Contrast checker → · Palette generator →

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