#4427A2#4427A2

#4427A2 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.184 H 285.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#4427A2
RGBrgb(68, 39, 162)
HSLhsl(254, 61%, 39%)
HSVhsv(254, 76%, 64%)
CMYKcmyk(58%, 75.9%, 0%, 36.5%)
CIE-LABlab(27.54, 45.41, -61.53)
CIE-LCHlch(27.54, 76.47, 306.43°)
OKLaboklab(39.55% 0.048 -0.1772)
OKLCHoklch(39.55% 0.184 285.2)
XYZxyz(9.6290, 5.2880, 34.6887)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4427A2 #85A227
analogous
#2748A2 #4427A2 #8227A2
triadic
#4427A2 #A24427 #27A244
tetradic
#4427A2 #A22748 #85A227 #27A282
square
#4427A2 #A22748 #85A227 #27A282
split-complementary
#4427A2 #A28227 #48A227
monochromatic
#1B0F3F #2F1B71 #4427A2 #5B37CF #8469DB

Accessibility & contrast

On white

10.21
#4427A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4427A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4427A2
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4427A2#FFFFFF#000000##FFFFFF
##4427A21.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#134A63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4427a2;
/* rgb */ color: rgb(68, 39, 162);
/* oklch */ color: oklch(39.6% 0.184 285.2);
Tailwind
colors: {
  custom: {
    50: '#8365bf',
    500: '#4427a2',
    950: '#000000',
  },
}
SCSS
$custom: #4427a2;
$custom-light: #8365bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4427a2",
  "rgb": {
    "r": 68,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 254.146,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39554,
    "c": 0.18359,
    "h": 285.2
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#4427A2
secondary
#ABC164
accent
#E443BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4427A2

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

Preview Lab → · Contrast checker → · Palette generator →

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