#42344A#42344A

#42344A is a dark, muted violet. Relative luminance 0.041; OKLCH L 34.9% C 0.042 H 313.0°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#42344A
RGBrgb(66, 52, 74)
HSLhsl(278, 17%, 25%)
HSVhsv(278, 30%, 29%)
CMYKcmyk(10.8%, 29.7%, 0%, 71%)
CIE-LABlab(24.03, 11.13, -11.19)
CIE-LCHlch(24.03, 15.78, 314.84°)
OKLaboklab(34.94% 0.0284 -0.0305)
OKLCHoklch(34.94% 0.042 313)
XYZxyz(4.7106, 4.1087, 7.0221)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42344A #3C4A34
analogous
#37344A #42344A #4A3447
triadic
#42344A #4A4234 #344A42
tetradic
#42344A #4A3734 #3C4A34 #34474A
square
#42344A #4A3734 #3C4A34 #34474A
split-complementary
#42344A #474A34 #344A37
monochromatic
#100D12 #221B26 #42344A #624D6E #826792

Accessibility & contrast

On white

11.53
#42344A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#42344A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42344A
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42344A#FFFFFF#000000##FFFFFF
##42344A1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31384B
Deuteranopia (green-blind)
#343949
Tritanopia (blue-blind)
#41373C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #42344a;
/* rgb */ color: rgb(66, 52, 74);
/* oklch */ color: oklch(34.9% 0.042 313.0);
Tailwind
colors: {
  custom: {
    50: '#766b7c',
    500: '#42344a',
    950: '#000000',
  },
}
SCSS
$custom: #42344a;
$custom-light: #766b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#42344a",
  "rgb": {
    "r": 66,
    "g": 52,
    "b": 74
  },
  "hsl": {
    "h": 278.182,
    "s": 17.46,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34941,
    "c": 0.0417,
    "h": 313
  },
  "luminance": 0.04109
}

Semantic roles & 50–950 ramp

primary
#42344A
secondary
#697A60
accent
#BA6E89
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#080609
muted
#7B7A7B

Preview Lab

Preview with #42344A

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

Preview Lab → · Contrast checker → · Palette generator →

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