#442D8B#442D8B

#442D8B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.148 H 288.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#442D8B
RGBrgb(68, 45, 139)
HSLhsl(255, 51%, 36%)
HSVhsv(255, 68%, 55%)
CMYKcmyk(51.1%, 67.6%, 0%, 45.5%)
CIE-LABlab(26.65, 35.12, -48.87)
CIE-LCHlch(26.65, 60.19, 305.70°)
OKLaboklab(38.28% 0.0473 -0.1401)
OKLCHoklch(38.28% 0.148 288.7)
XYZxyz(7.9811, 4.9694, 24.9598)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#442D8B #748B2D
analogous
#2D458B #442D8B #732D8B
triadic
#442D8B #8B442D #2D8B44
tetradic
#442D8B #8B2D45 #748B2D #2D8B73
square
#442D8B #8B2D45 #748B2D #2D8B73
split-complementary
#442D8B #8B732D #458B2D
monochromatic
#170F2F #2D1E5D #442D8B #5B3CB9 #7F65CD

Accessibility & contrast

On white

10.53
#442D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#442D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #442D8B
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##442D8B#FFFFFF#000000##FFFFFF
##442D8B1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#2B4458
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #442d8b;
/* rgb */ color: rgb(68, 45, 139);
/* oklch */ color: oklch(38.3% 0.148 288.7);
Tailwind
colors: {
  custom: {
    50: '#7f67ae',
    500: '#442d8b',
    950: '#000000',
  },
}
SCSS
$custom: #442d8b;
$custom-light: #7f67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#442d8b",
  "rgb": {
    "r": 68,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 254.681,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38278,
    "c": 0.14789,
    "h": 288.7
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#442D8B
secondary
#9FB460
accent
#DB4DB8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #442D8B

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

Preview Lab → · Contrast checker → · Palette generator →

#442D8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva