#442172#442172

#442172 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.132 H 299.1°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#442172
RGBrgb(68, 33, 114)
HSLhsl(266, 55%, 29%)
HSVhsv(266, 71%, 45%)
CMYKcmyk(40.4%, 71.1%, 0%, 55.3%)
CIE-LABlab(22.06, 34.65, -40.54)
CIE-LCHlch(22.06, 53.33, 310.52°)
OKLaboklab(34.33% 0.0642 -0.1156)
OKLCHoklch(34.33% 0.132 299.1)
XYZxyz(5.9643, 3.5315, 16.2837)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#442172 #4F7221
analogous
#212772 #442172 #6D2172
triadic
#442172 #724421 #217244
tetradic
#442172 #722127 #4F7221 #21726D
square
#442172 #722127 #4F7221 #21726D
split-complementary
#442172 #726D21 #277221
monochromatic
#0E0718 #281343 #442172 #602FA1 #7E44C9

Accessibility & contrast

On white

12.31
#442172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#442172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #442172
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##442172#FFFFFF#000000##FFFFFF
##4421721.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#393446
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #442172;
/* rgb */ color: rgb(68, 33, 114);
/* oklch */ color: oklch(34.3% 0.132 299.1);
Tailwind
colors: {
  custom: {
    50: '#7c5f9b',
    500: '#442172',
    950: '#000000',
  },
}
SCSS
$custom: #442172;
$custom-light: #7c5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#442172",
  "rgb": {
    "r": 68,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 265.926,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3433,
    "c": 0.13225,
    "h": 299.1
  },
  "luminance": 0.03532
}

Semantic roles & 50–950 ramp

primary
#442172
secondary
#7EA549
accent
#DE499E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #442172

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

Preview Lab → · Contrast checker → · Palette generator →

#442172 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva