#42344E#42344E

#42344E is a dark, muted violet. Relative luminance 0.042; OKLCH L 35.1% C 0.048 H 308.6°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#42344E
RGBrgb(66, 52, 78)
HSLhsl(272, 20%, 25%)
HSVhsv(272, 33%, 31%)
CMYKcmyk(15.4%, 33.3%, 0%, 69.4%)
CIE-LABlab(24.21, 12.14, -13.58)
CIE-LCHlch(24.21, 18.22, 311.81°)
OKLaboklab(35.14% 0.0298 -0.0372)
OKLCHoklch(35.14% 0.048 308.6)
XYZxyz(4.8497, 4.1643, 7.7546)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42344E #404E34
analogous
#35344E #42344E #4E344D
triadic
#42344E #4E4234 #344E42
tetradic
#42344E #4E3534 #404E34 #344D4E
square
#42344E #4E3534 #404E34 #344D4E
split-complementary
#42344E #4D4E34 #344E35
monochromatic
#100C12 #231C29 #42344E #614C73 #806597

Accessibility & contrast

On white

11.46
#42344E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#42344E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42344E
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42344E#FFFFFF#000000##FFFFFF
##42344E1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F394F
Deuteranopia (green-blind)
#323A4D
Tritanopia (blue-blind)
#41383D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #42344e;
/* rgb */ color: rgb(66, 52, 78);
/* oklch */ color: oklch(35.1% 0.048 308.6);
Tailwind
colors: {
  custom: {
    50: '#766b7f',
    500: '#42344e',
    950: '#000000',
  },
}
SCSS
$custom: #42344e;
$custom-light: #766b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#42344e",
  "rgb": {
    "r": 66,
    "g": 52,
    "b": 78
  },
  "hsl": {
    "h": 272.308,
    "s": 20,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35138,
    "c": 0.04768,
    "h": 308.6
  },
  "luminance": 0.04164
}

Semantic roles & 50–950 ramp

primary
#42344E
secondary
#6E7E5F
accent
#BD6B91
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08060A
muted
#7B7A7C

Preview Lab

Preview with #42344E

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

Preview Lab → · Contrast checker → · Palette generator →

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