#42194D#42194D

#42194D is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.0% C 0.099 H 318.6°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#42194D
RGBrgb(66, 25, 77)
HSLhsl(287, 51%, 20%)
HSVhsv(287, 68%, 30%)
CMYKcmyk(14.3%, 67.5%, 0%, 69.8%)
CIE-LABlab(17.41, 28.94, -23.55)
CIE-LCHlch(17.41, 37.31, 320.87°)
OKLaboklab(30.04% 0.0746 -0.0658)
OKLCHoklch(30.04% 0.099 318.6)
XYZxyz(3.9338, 2.3895, 7.2737)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42194D #244D19
analogous
#28194D #42194D #4D193E
triadic
#42194D #4D4219 #194D42
tetradic
#42194D #4D2819 #244D19 #193E4D
square
#42194D #4D2819 #244D19 #193E4D
split-complementary
#42194D #3E4D19 #194D28
monochromatic
#140817 #1A0A1F #42194D #6A287B #9137A9

Accessibility & contrast

On white

14.21
#42194D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#42194D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42194D
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42194D#FFFFFF#000000##FFFFFF
##42194D1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B284F
Deuteranopia (green-blind)
#1C2C4C
Tritanopia (blue-blind)
#422230
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #42194d;
/* rgb */ color: rgb(66, 25, 77);
/* oklch */ color: oklch(30.0% 0.099 318.6);
Tailwind
colors: {
  custom: {
    50: '#78597f',
    500: '#42194d',
    950: '#000000',
  },
}
SCSS
$custom: #42194d;
$custom-light: #78597f;
$custom-dark: #000000;
JSON
{
  "hex": "#42194d",
  "rgb": {
    "r": 66,
    "g": 25,
    "b": 77
  },
  "hsl": {
    "h": 287.308,
    "s": 50.98,
    "l": 20
  },
  "oklch": {
    "l": 0.30042,
    "c": 0.09942,
    "h": 318.6
  },
  "luminance": 0.02389
}

Semantic roles & 50–950 ramp

primary
#42194D
secondary
#4D833E
accent
#DA4D6B
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #42194D

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

Preview Lab → · Contrast checker → · Palette generator →

#42194D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva