#42094A#42094A

#42094A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 28.0% C 0.118 H 322.3°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#42094A
RGBrgb(66, 9, 74)
HSLhsl(293, 78%, 16%)
HSVhsv(293, 88%, 29%)
CMYKcmyk(10.8%, 87.8%, 0%, 71%)
CIE-LABlab(14.67, 35.41, -25.86)
CIE-LCHlch(14.67, 43.85, 323.86°)
OKLaboklab(28.01% 0.0938 -0.0724)
OKLCHoklch(28.01% 0.118 322.3)
XYZxyz(3.5804, 1.8483, 6.6454)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42094A #114A09
analogous
#22094A #42094A #4A0932
triadic
#42094A #4A4209 #094A42
tetradic
#42094A #4A2209 #114A09 #09324A
square
#42094A #4A2209 #114A09 #09324A
split-complementary
#42094A #324A09 #094A22
monochromatic
#18031B #18031B #42094A #731081 #A316B7

Accessibility & contrast

On white

15.33
#42094A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#42094A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42094A
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42094A#FFFFFF#000000##FFFFFF
##42094A1.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#142749
Tritanopia (blue-blind)
#43172A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42094a;
/* rgb */ color: rgb(66, 9, 74);
/* oklch */ color: oklch(28.0% 0.118 322.3);
Tailwind
colors: {
  custom: {
    50: '#79517d',
    500: '#42094a',
    950: '#000000',
  },
}
SCSS
$custom: #42094a;
$custom-light: #79517d;
$custom-dark: #000000;
JSON
{
  "hex": "#42094a",
  "rgb": {
    "r": 66,
    "g": 9,
    "b": 74
  },
  "hsl": {
    "h": 292.615,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28011,
    "c": 0.11847,
    "h": 322.3
  },
  "luminance": 0.01848
}

Semantic roles & 50–950 ramp

primary
#42094A
secondary
#338727
accent
#F5334B
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #42094A

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

Preview Lab → · Contrast checker → · Palette generator →

#42094A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva