#34223E#34223E

#34223E is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.7% C 0.055 H 312.8°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#34223E
RGBrgb(52, 34, 62)
HSLhsl(279, 29%, 19%)
HSVhsv(279, 45%, 24%)
CMYKcmyk(16.1%, 45.2%, 0%, 75.7%)
CIE-LABlab(16.61, 14.91, -14.60)
CIE-LCHlch(16.61, 20.86, 315.60°)
OKLaboklab(28.71% 0.0373 -0.0403)
OKLCHoklch(28.71% 0.055 312.8)
XYZxyz(2.8576, 2.2220, 4.8348)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34223E #2C3E22
analogous
#26223E #34223E #3E223A
triadic
#34223E #3E3422 #223E34
tetradic
#34223E #3E2622 #2C3E22 #223A3E
square
#34223E #3E2622 #2C3E22 #223A3E
split-complementary
#34223E #3A3E22 #223E26
monochromatic
#110B14 #130C16 #34223E #553866 #764D8D

Accessibility & contrast

On white

14.54
#34223E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#34223E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34223E
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34223E#FFFFFF#000000##FFFFFF
##34223E1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D283F
Deuteranopia (green-blind)
#21293D
Tritanopia (blue-blind)
#33262D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #34223e;
/* rgb */ color: rgb(52, 34, 62);
/* oklch */ color: oklch(28.7% 0.055 312.8);
Tailwind
colors: {
  custom: {
    50: '#6c5d73',
    500: '#34223e',
    950: '#000000',
  },
}
SCSS
$custom: #34223e;
$custom-light: #6c5d73;
$custom-dark: #000000;
JSON
{
  "hex": "#34223e",
  "rgb": {
    "r": 52,
    "g": 34,
    "b": 62
  },
  "hsl": {
    "h": 278.571,
    "s": 29.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28714,
    "c": 0.05493,
    "h": 312.8
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#34223E
secondary
#58714B
accent
#C56286
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070408
muted
#7A797B

Preview Lab

Preview with #34223E

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

Preview Lab → · Contrast checker → · Palette generator →

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