#442797#442797

#442797 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.170 H 287.3°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#442797
RGBrgb(68, 39, 151)
HSLhsl(256, 59%, 37%)
HSVhsv(256, 74%, 59%)
CMYKcmyk(55%, 74.2%, 0%, 40.8%)
CIE-LABlab(26.49, 42.14, -56.54)
CIE-LCHlch(26.49, 70.52, 306.70°)
OKLaboklab(38.49% 0.0508 -0.1626)
OKLCHoklch(38.49% 0.17 287.3)
XYZxyz(8.6937, 4.9139, 29.7625)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#442797 #7A9727
analogous
#274297 #442797 #7C2797
triadic
#442797 #974427 #279744
tetradic
#442797 #972742 #7A9727 #27977C
square
#442797 #972742 #7A9727 #27977C
split-complementary
#442797 #977C27 #429727
monochromatic
#180E36 #2E1A66 #442797 #5A34C8 #8062D6

Accessibility & contrast

On white

10.59
#442797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#442797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #442797
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##442797#FFFFFF#000000##FFFFFF
##4427971.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#22455D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #442797;
/* rgb */ color: rgb(68, 39, 151);
/* oklch */ color: oklch(38.5% 0.170 287.3);
Tailwind
colors: {
  custom: {
    50: '#8164b7',
    500: '#442797',
    950: '#000000',
  },
}
SCSS
$custom: #442797;
$custom-light: #8164b7;
$custom-dark: #000000;
JSON
{
  "hex": "#442797",
  "rgb": {
    "r": 68,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 255.536,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38492,
    "c": 0.17034,
    "h": 287.3
  },
  "luminance": 0.04914
}

Semantic roles & 50–950 ramp

primary
#442797
secondary
#A4BC5E
accent
#E246BA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #442797

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

Preview Lab → · Contrast checker → · Palette generator →

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