#34283F#34283F

#34283F is a dark, muted violet. Relative luminance 0.026; OKLCH L 30.1% C 0.044 H 307.8°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#34283F
RGBrgb(52, 40, 63)
HSLhsl(271, 22%, 20%)
HSVhsv(271, 37%, 25%)
CMYKcmyk(17.5%, 36.5%, 0%, 75.3%)
CIE-LABlab(18.39, 11.02, -12.52)
CIE-LCHlch(18.39, 16.68, 311.34°)
OKLaboklab(30.08% 0.0267 -0.0344)
OKLCHoklch(30.08% 0.044 307.8)
XYZxyz(3.0720, 2.6066, 5.0429)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34283F #333F28
analogous
#28283F #34283F #3F283E
triadic
#34283F #3F3428 #283F34
tetradic
#34283F #3F2828 #333F28 #283E3F
square
#34283F #3F2828 #333F28 #283E3F
split-complementary
#34283F #3E3F28 #283F28
monochromatic
#0F0C13 #15101A #34283F #534064 #72588A

Accessibility & contrast

On white

13.80
#34283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#34283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34283F
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34283F#FFFFFF#000000##FFFFFF
##34283F1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242C40
Deuteranopia (green-blind)
#262D3E
Tritanopia (blue-blind)
#332B30
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #34283f;
/* rgb */ color: rgb(52, 40, 63);
/* oklch */ color: oklch(30.1% 0.044 307.8);
Tailwind
colors: {
  custom: {
    50: '#6c6274',
    500: '#34283f',
    950: '#000000',
  },
}
SCSS
$custom: #34283f;
$custom-light: #6c6274;
$custom-dark: #000000;
JSON
{
  "hex": "#34283f",
  "rgb": {
    "r": 52,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 271.304,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30084,
    "c": 0.04358,
    "h": 307.8
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#34283F
secondary
#617152
accent
#BF6992
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#070508
muted
#7A797B

Preview Lab

Preview with #34283F

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

Preview Lab → · Contrast checker → · Palette generator →

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