#34293C#34293C

#34293C is a dark, muted violet. Relative luminance 0.026; OKLCH L 30.2% C 0.037 H 310.5°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#34293C
RGBrgb(52, 41, 60)
HSLhsl(275, 19%, 20%)
HSVhsv(275, 32%, 24%)
CMYKcmyk(13.3%, 31.7%, 0%, 76.5%)
CIE-LABlab(18.55, 9.52, -10.21)
CIE-LCHlch(18.55, 13.96, 313.00°)
OKLaboklab(30.16% 0.0239 -0.0279)
OKLCHoklch(30.16% 0.037 310.5)
XYZxyz(3.0246, 2.6422, 4.6248)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34293C #313C29
analogous
#2B293C #34293C #3C293B
triadic
#34293C #3C3429 #293C34
tetradic
#34293C #3C2B29 #313C29 #293B3C
square
#34293C #3C2B29 #313C29 #293B3C
split-complementary
#34293C #3B3C29 #293C2B
monochromatic
#100C12 #141018 #34293C #544260 #735B85

Accessibility & contrast

On white

13.74
#34293C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#34293C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34293C
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34293C#FFFFFF#000000##FFFFFF
##34293C1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262D3D
Deuteranopia (green-blind)
#282D3B
Tritanopia (blue-blind)
#332B30
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #34293c;
/* rgb */ color: rgb(52, 41, 60);
/* oklch */ color: oklch(30.2% 0.037 310.5);
Tailwind
colors: {
  custom: {
    50: '#6b6271',
    500: '#34293c',
    950: '#000000',
  },
}
SCSS
$custom: #34293c;
$custom-light: #6b6271;
$custom-dark: #000000;
JSON
{
  "hex": "#34293c",
  "rgb": {
    "r": 52,
    "g": 41,
    "b": 60
  },
  "hsl": {
    "h": 274.737,
    "s": 18.812,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30156,
    "c": 0.0367,
    "h": 310.5
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#34293C
secondary
#5E6D54
accent
#BB6C8E
background
#F6F5F6
surface
#EBEAEC
border
#C6C6C7
text
#060507
muted
#7A797A

Preview Lab

Preview with #34293C

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

Preview Lab → · Contrast checker → · Palette generator →

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