#4718A0#4718A0

#4718A0 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 38.0% C 0.194 H 288.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#4718A0
RGBrgb(71, 24, 160)
HSLhsl(261, 74%, 36%)
HSVhsv(261, 85%, 63%)
CMYKcmyk(55.6%, 85%, 0%, 37.3%)
CIE-LABlab(25.35, 51.90, -63.90)
CIE-LCHlch(25.35, 82.32, 309.08°)
OKLaboklab(38.05% 0.0631 -0.1839)
OKLCHoklch(38.05% 0.194 288.9)
XYZxyz(9.2685, 4.5305, 33.6370)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4718A0 #71A018
analogous
#182DA0 #4718A0 #8B18A0
triadic
#4718A0 #A04718 #18A047
tetradic
#4718A0 #A0182D #71A018 #18A08B
square
#4718A0 #A0182D #71A018 #18A08B
split-complementary
#4718A0 #A08B18 #2DA018
monochromatic
#180836 #2F106B #4718A0 #5F20D5 #824EE4

Accessibility & contrast

On white

11.02
#4718A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4718A0
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4718A0#FFFFFF#000000##FFFFFF
##4718A01.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4718a0;
/* rgb */ color: rgb(71, 24, 160);
/* oklch */ color: oklch(38.0% 0.194 288.9);
Tailwind
colors: {
  custom: {
    50: '#855dbd',
    500: '#4718a0',
    950: '#000000',
  },
}
SCSS
$custom: #4718a0;
$custom-light: #855dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4718a0",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 260.735,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3805,
    "c": 0.19441,
    "h": 288.9
  },
  "luminance": 0.04531
}

Semantic roles & 50–950 ramp

primary
#4718A0
secondary
#9DC64D
accent
#F137B1
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4718A0

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

Preview Lab → · Contrast checker → · Palette generator →

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