#4218A0#4218A0

#4218A0 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.5% C 0.195 H 286.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#4218A0
RGBrgb(66, 24, 160)
HSLhsl(259, 74%, 36%)
HSVhsv(259, 85%, 63%)
CMYKcmyk(58.8%, 85%, 0%, 37.3%)
CIE-LABlab(24.79, 51.36, -64.85)
CIE-LCHlch(24.79, 82.72, 308.38°)
OKLaboklab(37.54% 0.055 -0.1868)
OKLCHoklch(37.54% 0.195 286.4)
XYZxyz(8.9167, 4.3491, 33.6205)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4218A0 #76A018
analogous
#1832A0 #4218A0 #8618A0
triadic
#4218A0 #A04218 #18A042
tetradic
#4218A0 #A01832 #76A018 #18A086
square
#4218A0 #A01832 #76A018 #18A086
split-complementary
#4218A0 #A08618 #32A018
monochromatic
#160836 #2C106B #4218A0 #5820D5 #7C4EE4

Accessibility & contrast

On white

11.23
#4218A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4218A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4218A0
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4218A0#FFFFFF#000000##FFFFFF
##4218A01.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#0F435F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4218a0;
/* rgb */ color: rgb(66, 24, 160);
/* oklch */ color: oklch(37.5% 0.195 286.4);
Tailwind
colors: {
  custom: {
    50: '#835dbd',
    500: '#4218a0',
    950: '#000000',
  },
}
SCSS
$custom: #4218a0;
$custom-light: #835dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4218a0",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 258.529,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37536,
    "c": 0.19471,
    "h": 286.4
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#4218A0
secondary
#A1C64D
accent
#F137B7
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4218A0

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

Preview Lab → · Contrast checker → · Palette generator →

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