#442B98#442B98

#442B98 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.167 H 286.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#442B98
RGBrgb(68, 43, 152)
HSLhsl(254, 56%, 38%)
HSVhsv(254, 72%, 60%)
CMYKcmyk(55.3%, 71.7%, 0%, 40.4%)
CIE-LABlab(27.36, 40.26, -55.72)
CIE-LCHlch(27.36, 68.75, 305.85°)
OKLaboklab(39.14% 0.0471 -0.1602)
OKLCHoklch(39.14% 0.167 286.4)
XYZxyz(8.9136, 5.2232, 30.2382)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#442B98 #7F982B
analogous
#2B4998 #442B98 #7A2B98
triadic
#442B98 #98442B #2B9844
tetradic
#442B98 #982B49 #7F982B #2B987A
square
#442B98 #982B49 #7F982B #2B987A
split-complementary
#442B98 #987A2B #49982B
monochromatic
#191039 #2F1E68 #442B98 #5A39C7 #8269D5

Accessibility & contrast

On white

10.27
#442B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#442B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #442B98
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##442B98#FFFFFF#000000##FFFFFF
##442B981.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#20485E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #442b98;
/* rgb */ color: rgb(68, 43, 152);
/* oklch */ color: oklch(39.1% 0.167 286.4);
Tailwind
colors: {
  custom: {
    50: '#8167b7',
    500: '#442b98',
    950: '#000000',
  },
}
SCSS
$custom: #442b98;
$custom-light: #8167b7;
$custom-dark: #000000;
JSON
{
  "hex": "#442b98",
  "rgb": {
    "r": 68,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 253.761,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39141,
    "c": 0.167,
    "h": 286.4
  },
  "luminance": 0.05224
}

Semantic roles & 50–950 ramp

primary
#442B98
secondary
#A7BB64
accent
#DF49BD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #442B98

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

Preview Lab → · Contrast checker → · Palette generator →

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