#4427A7#4427A7

#4427A7 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.190 H 284.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#4427A7
RGBrgb(68, 39, 167)
HSLhsl(254, 62%, 40%)
HSVhsv(254, 77%, 65%)
CMYKcmyk(59.3%, 76.6%, 0%, 34.5%)
CIE-LABlab(28.03, 46.89, -63.74)
CIE-LCHlch(28.03, 79.13, 306.34°)
OKLaboklab(40.05% 0.0467 -0.1837)
OKLCHoklch(40.05% 0.19 284.3)
XYZxyz(10.0823, 5.4694, 37.0761)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4427A7 #8AA727
analogous
#274AA7 #4427A7 #8427A7
triadic
#4427A7 #A74427 #27A744
tetradic
#4427A7 #A7274A #8AA727 #27A784
square
#4427A7 #A7274A #8AA727 #27A784
split-complementary
#4427A7 #A78427 #4AA727
monochromatic
#1C1044 #301B75 #4427A7 #5C3AD1 #856CDD

Accessibility & contrast

On white

10.03
#4427A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4427A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4427A7
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4427A7#FFFFFF#000000##FFFFFF
##4427A71.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#003EA5
Tritanopia (blue-blind)
#064C66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4427a7;
/* rgb */ color: rgb(68, 39, 167);
/* oklch */ color: oklch(40.0% 0.190 284.3);
Tailwind
colors: {
  custom: {
    50: '#8465c2',
    500: '#4427a7',
    950: '#000000',
  },
}
SCSS
$custom: #4427a7;
$custom-light: #8465c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4427a7",
  "rgb": {
    "r": 68,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 253.594,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40048,
    "c": 0.18951,
    "h": 284.3
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#4427A7
secondary
#AEC367
accent
#E543C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4427A7

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

Preview Lab → · Contrast checker → · Palette generator →

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