#442271#442271

#442271 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.130 H 299.2°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#442271
RGBrgb(68, 34, 113)
HSLhsl(266, 54%, 29%)
HSVhsv(266, 70%, 44%)
CMYKcmyk(39.8%, 69.9%, 0%, 55.7%)
CIE-LABlab(22.18, 33.81, -39.70)
CIE-LCHlch(22.18, 52.15, 310.42°)
OKLaboklab(34.39% 0.0632 -0.1131)
OKLCHoklch(34.39% 0.13 299.2)
XYZxyz(5.9358, 3.5652, 15.9950)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#442271 #4F7122
analogous
#222871 #442271 #6C2271
triadic
#442271 #714422 #227144
tetradic
#442271 #712228 #4F7122 #22716C
square
#442271 #712228 #4F7122 #22716C
split-complementary
#442271 #716C22 #287122
monochromatic
#0E0718 #281442 #442271 #6030A0 #7E46C7

Accessibility & contrast

On white

12.26
#442271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #442271
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##442271#FFFFFF#000000##FFFFFF
##4422711.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#3A3446
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #442271;
/* rgb */ color: rgb(68, 34, 113);
/* oklch */ color: oklch(34.4% 0.130 299.2);
Tailwind
colors: {
  custom: {
    50: '#7c609a',
    500: '#442271',
    950: '#000000',
  },
}
SCSS
$custom: #442271;
$custom-light: #7c609a;
$custom-dark: #000000;
JSON
{
  "hex": "#442271",
  "rgb": {
    "r": 68,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 265.823,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34391,
    "c": 0.1296,
    "h": 299.2
  },
  "luminance": 0.03565
}

Semantic roles & 50–950 ramp

primary
#442271
secondary
#7EA44A
accent
#DD4B9E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #442271

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

Preview Lab → · Contrast checker → · Palette generator →

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