#4428A2#4428A2

#4428A2 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.183 H 285.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#4428A2
RGBrgb(68, 40, 162)
HSLhsl(254, 60%, 40%)
HSVhsv(254, 75%, 64%)
CMYKcmyk(58%, 75.3%, 0%, 36.5%)
CIE-LABlab(27.72, 44.90, -61.23)
CIE-LCHlch(27.72, 75.93, 306.25°)
OKLaboklab(39.68% 0.0473 -0.1763)
OKLCHoklch(39.68% 0.183 285)
XYZxyz(9.6623, 5.3546, 34.6998)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4428A2 #86A228
analogous
#2849A2 #4428A2 #8128A2
triadic
#4428A2 #A24428 #28A244
tetradic
#4428A2 #A22849 #86A228 #28A281
square
#4428A2 #A22849 #86A228 #28A281
split-complementary
#4428A2 #A28128 #49A228
monochromatic
#1B1040 #2F1C71 #4428A2 #5B39CE #846ADA

Accessibility & contrast

On white

10.14
#4428A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4428A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4428A2
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4428A2#FFFFFF#000000##FFFFFF
##4428A21.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4428a2;
/* rgb */ color: rgb(68, 40, 162);
/* oklch */ color: oklch(39.7% 0.183 285.0);
Tailwind
colors: {
  custom: {
    50: '#8365bf',
    500: '#4428a2',
    950: '#000000',
  },
}
SCSS
$custom: #4428a2;
$custom-light: #8365bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4428a2",
  "rgb": {
    "r": 68,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 253.77,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39682,
    "c": 0.18255,
    "h": 285
  },
  "luminance": 0.05355
}

Semantic roles & 50–950 ramp

primary
#4428A2
secondary
#ACC165
accent
#E444BF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4428A2

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

Preview Lab → · Contrast checker → · Palette generator →

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