#34144A#34144A

#34144A is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.098 H 308.4°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#34144A
RGBrgb(52, 20, 74)
HSLhsl(276, 57%, 18%)
HSVhsv(276, 73%, 29%)
CMYKcmyk(29.7%, 73%, 0%, 71%)
CIE-LABlab(13.97, 27.09, -27.12)
CIE-LCHlch(13.97, 38.33, 314.97°)
OKLaboklab(27.02% 0.0609 -0.0767)
OKLCHoklch(27.02% 0.098 308.4)
XYZxyz(2.9021, 1.7248, 6.6573)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34144A #2A4A14
analogous
#19144A #34144A #4A1445
triadic
#34144A #4A3414 #144A34
tetradic
#34144A #4A1914 #2A4A14 #14454A
square
#34144A #4A1914 #2A4A14 #14454A
split-complementary
#34144A #454A14 #144A19
monochromatic
#110718 #12071A #34144A #56217A #782EAA

Accessibility & contrast

On white

15.61
#34144A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#34144A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34144A
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34144A#FFFFFF#000000##FFFFFF
##34144A1.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#0A2449
Tritanopia (blue-blind)
#311F2D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #34144a;
/* rgb */ color: rgb(52, 20, 74);
/* oklch */ color: oklch(27.0% 0.098 308.4);
Tailwind
colors: {
  custom: {
    50: '#6e547d',
    500: '#34144a',
    950: '#000000',
  },
}
SCSS
$custom: #34144a;
$custom-light: #6e547d;
$custom-dark: #000000;
JSON
{
  "hex": "#34144a",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 74
  },
  "hsl": {
    "h": 275.556,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27019,
    "c": 0.09789,
    "h": 308.4
  },
  "luminance": 0.01725
}

Semantic roles & 50–950 ramp

primary
#34144A
secondary
#568238
accent
#E14786
background
#F6F4F7
surface
#ECE8EE
border
#C7C4C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #34144A

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

Preview Lab → · Contrast checker → · Palette generator →

#34144A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva