#34293F#34293F

#34293F is a dark, muted violet. Relative luminance 0.027; OKLCH L 30.3% C 0.041 H 306.9°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#34293F
RGBrgb(52, 41, 63)
HSLhsl(270, 21%, 20%)
HSVhsv(270, 35%, 25%)
CMYKcmyk(17.5%, 34.9%, 0%, 75.3%)
CIE-LABlab(18.69, 10.32, -12.07)
CIE-LCHlch(18.69, 15.88, 310.55°)
OKLaboklab(30.31% 0.0249 -0.0331)
OKLCHoklch(30.31% 0.041 306.9)
XYZxyz(3.1061, 2.6748, 5.0543)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34293F #343F29
analogous
#29293F #34293F #3F293F
triadic
#34293F #3F3429 #293F34
tetradic
#34293F #3F2929 #343F29 #293F3F
square
#34293F #3F2929 #343F29 #293F3F
split-complementary
#34293F #3F3F29 #293F29
monochromatic
#0F0C13 #15111A #34293F #534164 #715989

Accessibility & contrast

On white

13.68
#34293F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#34293F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34293F
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34293F#FFFFFF#000000##FFFFFF
##34293F1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252D40
Deuteranopia (green-blind)
#272E3E
Tritanopia (blue-blind)
#332C31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #34293f;
/* rgb */ color: rgb(52, 41, 63);
/* oklch */ color: oklch(30.3% 0.041 306.9);
Tailwind
colors: {
  custom: {
    50: '#6b6274',
    500: '#34293f',
    950: '#000000',
  },
}
SCSS
$custom: #34293f;
$custom-light: #6b6274;
$custom-dark: #000000;
JSON
{
  "hex": "#34293f",
  "rgb": {
    "r": 52,
    "g": 41,
    "b": 63
  },
  "hsl": {
    "h": 270,
    "s": 21.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30311,
    "c": 0.04144,
    "h": 306.9
  },
  "luminance": 0.02675
}

Semantic roles & 50–950 ramp

primary
#34293F
secondary
#627053
accent
#BE6A94
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#070508
muted
#7A797B

Preview Lab

Preview with #34293F

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

Preview Lab → · Contrast checker → · Palette generator →

#34293F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva