#342444#342444

#342444 is a dark, muted violet. Relative luminance 0.024; OKLCH L 29.5% C 0.060 H 306.1°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#342444
RGBrgb(52, 36, 68)
HSLhsl(270, 31%, 20%)
HSVhsv(270, 47%, 27%)
CMYKcmyk(23.5%, 47.1%, 0%, 73.3%)
CIE-LABlab(17.50, 15.17, -17.36)
CIE-LCHlch(17.50, 23.06, 311.16°)
OKLaboklab(29.49% 0.0352 -0.0483)
OKLCHoklch(29.49% 0.06 306.1)
XYZxyz(3.0902, 2.4092, 5.7699)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342444 #344424
analogous
#242444 #342444 #442444
triadic
#342444 #443424 #244434
tetradic
#342444 #442424 #344424 #244444
square
#342444 #442424 #344424 #244444
split-complementary
#342444 #444424 #244424
monochromatic
#0F0B14 #150F1C #342444 #53396C #714E94

Accessibility & contrast

On white

14.17
#342444 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#342444 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342444
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342444#FFFFFF#000000##FFFFFF
##3424441.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2A45
Deuteranopia (green-blind)
#202B43
Tritanopia (blue-blind)
#322930
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #342444;
/* rgb */ color: rgb(52, 36, 68);
/* oklch */ color: oklch(29.5% 0.060 306.1);
Tailwind
colors: {
  custom: {
    50: '#6c5f78',
    500: '#342444',
    950: '#000000',
  },
}
SCSS
$custom: #342444;
$custom-light: #6c5f78;
$custom-dark: #000000;
JSON
{
  "hex": "#342444",
  "rgb": {
    "r": 52,
    "g": 36,
    "b": 68
  },
  "hsl": {
    "h": 270,
    "s": 30.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29495,
    "c": 0.05975,
    "h": 306.1
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#342444
secondary
#62774D
accent
#C76194
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070409
muted
#7A797B

Preview Lab

Preview with #342444

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

Preview Lab → · Contrast checker → · Palette generator →

#342444 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva