#342E3E#342E3E

#342E3E is a dark, muted violet. Relative luminance 0.030; OKLCH L 31.4% C 0.029 H 301.9°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#342E3E
RGBrgb(52, 46, 62)
HSLhsl(263, 15%, 21%)
HSVhsv(263, 26%, 24%)
CMYKcmyk(16.1%, 25.8%, 0%, 75.7%)
CIE-LABlab(20.17, 6.58, -9.11)
CIE-LCHlch(20.17, 11.24, 305.86°)
OKLaboklab(31.43% 0.0154 -0.0248)
OKLCHoklch(31.43% 0.029 301.9)
XYZxyz(3.2625, 3.0319, 4.9698)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342E3E #383E2E
analogous
#2E303E #342E3E #3C2E3E
triadic
#342E3E #3E342E #2E3E34
tetradic
#342E3E #3E2E30 #383E2E #2E3E3C
square
#342E3E #3E2E30 #383E2E #2E3E3C
split-complementary
#342E3E #3E3C2E #303E2E
monochromatic
#0F0D12 #17141B #342E3E #514861 #6F6284

Accessibility & contrast

On white

13.07
#342E3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#342E3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342E3E
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342E3E#FFFFFF#000000##FFFFFF
##342E3E1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B313F
Deuteranopia (green-blind)
#2C313E
Tritanopia (blue-blind)
#323033
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #342e3e;
/* rgb */ color: rgb(52, 46, 62);
/* oklch */ color: oklch(31.4% 0.029 301.9);
Tailwind
colors: {
  custom: {
    50: '#6b6673',
    500: '#342e3e',
    950: '#000000',
  },
}
SCSS
$custom: #342e3e;
$custom-light: #6b6673;
$custom-dark: #000000;
JSON
{
  "hex": "#342e3e",
  "rgb": {
    "r": 52,
    "g": 46,
    "b": 62
  },
  "hsl": {
    "h": 262.5,
    "s": 14.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31434,
    "c": 0.02925,
    "h": 301.9
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#342E3E
secondary
#666E5A
accent
#B8709D
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #342E3E

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

Preview Lab → · Contrast checker → · Palette generator →

#342E3E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva