#442872#442872

#442872 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.4% C 0.122 H 297.2°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#442872
RGBrgb(68, 40, 114)
HSLhsl(263, 48%, 30%)
HSVhsv(263, 65%, 45%)
CMYKcmyk(40.4%, 64.9%, 0%, 55.3%)
CIE-LABlab(23.54, 30.60, -38.14)
CIE-LCHlch(23.54, 48.90, 308.75°)
OKLaboklab(35.4% 0.0557 -0.1085)
OKLCHoklch(35.4% 0.122 297.2)
XYZxyz(6.1792, 3.9613, 16.3554)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#442872 #567228
analogous
#283172 #442872 #692872
triadic
#442872 #724428 #287244
tetradic
#442872 #722831 #567228 #287269
square
#442872 #722831 #567228 #287269
split-complementary
#442872 #726928 #317228
monochromatic
#0E0817 #291845 #442872 #5F389F #7D52C2

Accessibility & contrast

On white

11.72
#442872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#442872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #442872
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##442872#FFFFFF#000000##FFFFFF
##4428721.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#043770
Tritanopia (blue-blind)
#393849
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #442872;
/* rgb */ color: rgb(68, 40, 114);
/* oklch */ color: oklch(35.4% 0.122 297.2);
Tailwind
colors: {
  custom: {
    50: '#7c639b',
    500: '#442872',
    950: '#000000',
  },
}
SCSS
$custom: #442872;
$custom-light: #7c639b;
$custom-dark: #000000;
JSON
{
  "hex": "#442872",
  "rgb": {
    "r": 68,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 262.703,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35402,
    "c": 0.12202,
    "h": 297.2
  },
  "luminance": 0.03961
}

Semantic roles & 50–950 ramp

primary
#442872
secondary
#85A452
accent
#D850A4
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #442872

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

Preview Lab → · Contrast checker → · Palette generator →

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