#4427A6#4427A6

#4427A6 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.188 H 284.4°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#4427A6
RGBrgb(68, 39, 166)
HSLhsl(254, 62%, 40%)
HSVhsv(254, 77%, 65%)
CMYKcmyk(59%, 76.5%, 0%, 34.9%)
CIE-LABlab(27.93, 46.60, -63.30)
CIE-LCHlch(27.93, 78.60, 306.36°)
OKLaboklab(39.95% 0.047 -0.1824)
OKLCHoklch(39.95% 0.188 284.4)
XYZxyz(9.9902, 5.4325, 36.5912)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4427A6 #89A627
analogous
#2749A6 #4427A6 #8427A6
triadic
#4427A6 #A64427 #27A644
tetradic
#4427A6 #A62749 #89A627 #27A684
square
#4427A6 #A62749 #89A627 #27A684
split-complementary
#4427A6 #A68427 #49A627
monochromatic
#1B1043 #301B74 #4427A6 #5C3AD1 #856BDC

Accessibility & contrast

On white

10.06
#4427A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4427A6
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4427A6#FFFFFF#000000##FFFFFF
##4427A61.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#094B65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4427a6;
/* rgb */ color: rgb(68, 39, 166);
/* oklch */ color: oklch(39.9% 0.188 284.4);
Tailwind
colors: {
  custom: {
    50: '#8465c2',
    500: '#4427a6',
    950: '#000000',
  },
}
SCSS
$custom: #4427a6;
$custom-light: #8465c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4427a6",
  "rgb": {
    "r": 68,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 253.701,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39949,
    "c": 0.18834,
    "h": 284.4
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

primary
#4427A6
secondary
#AEC366
accent
#E543C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4427A6

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

Preview Lab → · Contrast checker → · Palette generator →

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