#4427AB#4427AB

#4427AB is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.194 H 283.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#4427AB
RGBrgb(68, 39, 171)
HSLhsl(253, 63%, 41%)
HSVhsv(253, 77%, 67%)
CMYKcmyk(60.2%, 77.2%, 0%, 32.9%)
CIE-LABlab(28.43, 48.08, -65.49)
CIE-LCHlch(28.43, 81.25, 306.28°)
OKLaboklab(40.45% 0.0456 -0.1888)
OKLCHoklch(40.45% 0.194 283.6)
XYZxyz(10.4578, 5.6196, 39.0538)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4427AB #8EAB27
analogous
#274CAB #4427AB #8627AB
triadic
#4427AB #AB4427 #27AB44
tetradic
#4427AB #AB274C #8EAB27 #27AB86
square
#4427AB #AB274C #8EAB27 #27AB86
split-complementary
#4427AB #AB8627 #4CAB27
monochromatic
#1C1047 #301C79 #4427AB #5E3DD3 #876EDE

Accessibility & contrast

On white

9.89
#4427AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4427AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4427AB
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4427AB#FFFFFF#000000##FFFFFF
##4427AB1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4427ab;
/* rgb */ color: rgb(68, 39, 171);
/* oklch */ color: oklch(40.4% 0.194 283.6);
Tailwind
colors: {
  custom: {
    50: '#8565c5',
    500: '#4427ab',
    950: '#000000',
  },
}
SCSS
$custom: #4427ab;
$custom-light: #8565c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4427ab",
  "rgb": {
    "r": 68,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 253.182,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40449,
    "c": 0.19422,
    "h": 283.6
  },
  "luminance": 0.0562
}

Semantic roles & 50–950 ramp

primary
#4427AB
secondary
#B1C569
accent
#E642C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4427AB

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

Preview Lab → · Contrast checker → · Palette generator →

#4427AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva