#42094B#42094B

#42094B is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.119 H 321.7°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#42094B
RGBrgb(66, 9, 75)
HSLhsl(292, 79%, 16%)
HSVhsv(292, 88%, 29%)
CMYKcmyk(12%, 88%, 0%, 70.6%)
CIE-LABlab(14.74, 35.62, -26.44)
CIE-LCHlch(14.74, 44.36, 323.42°)
OKLaboklab(28.09% 0.0936 -0.0741)
OKLCHoklch(28.09% 0.119 321.7)
XYZxyz(3.6143, 1.8618, 6.8242)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42094B #124B09
analogous
#21094B #42094B #4B0933
triadic
#42094B #4B4209 #094B42
tetradic
#42094B #4B2109 #124B09 #09334B
square
#42094B #4B2109 #124B09 #09334B
split-complementary
#42094B #334B09 #094B21
monochromatic
#18031B #18031B #42094B #721082 #A216B8

Accessibility & contrast

On white

15.30
#42094B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42094B
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42094B#FFFFFF#000000##FFFFFF
##42094B1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42094b;
/* rgb */ color: rgb(66, 9, 75);
/* oklch */ color: oklch(28.1% 0.119 321.7);
Tailwind
colors: {
  custom: {
    50: '#79517e',
    500: '#42094b',
    950: '#000000',
  },
}
SCSS
$custom: #42094b;
$custom-light: #79517e;
$custom-dark: #000000;
JSON
{
  "hex": "#42094b",
  "rgb": {
    "r": 66,
    "g": 9,
    "b": 75
  },
  "hsl": {
    "h": 291.818,
    "s": 78.571,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28087,
    "c": 0.1194,
    "h": 321.7
  },
  "luminance": 0.01862
}

Semantic roles & 50–950 ramp

primary
#42094B
secondary
#358828
accent
#F5334D
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #42094B

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

Preview Lab → · Contrast checker → · Palette generator →

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