#442898#442898

#442898 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.170 H 286.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#442898
RGBrgb(68, 40, 152)
HSLhsl(255, 58%, 38%)
HSVhsv(255, 74%, 60%)
CMYKcmyk(55.3%, 73.7%, 0%, 40.4%)
CIE-LABlab(26.77, 41.91, -56.69)
CIE-LCHlch(26.77, 70.50, 306.47°)
OKLaboklab(38.72% 0.0497 -0.163)
OKLCHoklch(38.72% 0.17 286.9)
XYZxyz(8.8085, 5.0131, 30.2032)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#442898 #7C9828
analogous
#284498 #442898 #7C2898
triadic
#442898 #984428 #289844
tetradic
#442898 #982844 #7C9828 #28987C
square
#442898 #982844 #7C9828 #28987C
split-complementary
#442898 #987C28 #449828
monochromatic
#190F37 #2E1B68 #442898 #5A35C8 #8164D6

Accessibility & contrast

On white

10.49
#442898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#442898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #442898
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##442898#FFFFFF#000000##FFFFFF
##4428981.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#003C96
Tritanopia (blue-blind)
#20465D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #442898;
/* rgb */ color: rgb(68, 40, 152);
/* oklch */ color: oklch(38.7% 0.170 286.9);
Tailwind
colors: {
  custom: {
    50: '#8165b7',
    500: '#442898',
    950: '#000000',
  },
}
SCSS
$custom: #442898;
$custom-light: #8165b7;
$custom-dark: #000000;
JSON
{
  "hex": "#442898",
  "rgb": {
    "r": 68,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 255,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38722,
    "c": 0.17044,
    "h": 286.9
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#442898
secondary
#A5BC60
accent
#E246BB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #442898

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

Preview Lab → · Contrast checker → · Palette generator →

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