#34144D#34144D

#34144D is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.3% C 0.102 H 306.6°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#34144D
RGBrgb(52, 20, 77)
HSLhsl(274, 59%, 19%)
HSVhsv(274, 74%, 30%)
CMYKcmyk(32.5%, 74%, 0%, 69.8%)
CIE-LABlab(14.21, 27.90, -28.80)
CIE-LCHlch(14.21, 40.10, 314.09°)
OKLaboklab(27.27% 0.0605 -0.0816)
OKLCHoklch(27.27% 0.102 306.6)
XYZxyz(3.0056, 1.7662, 7.2023)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34144D #2D4D14
analogous
#18144D #34144D #4D144A
triadic
#34144D #4D3414 #144D34
tetradic
#34144D #4D1814 #2D4D14 #144A4D
square
#34144D #4D1814 #2D4D14 #144A4D
split-complementary
#34144D #4A4D14 #144D18
monochromatic
#100618 #13071C #34144D #55217E #762DAE

Accessibility & contrast

On white

15.52
#34144D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34144D
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34144D#FFFFFF#000000##FFFFFF
##34144D1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#06244C
Tritanopia (blue-blind)
#30202E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #34144d;
/* rgb */ color: rgb(52, 20, 77);
/* oklch */ color: oklch(27.3% 0.102 306.6);
Tailwind
colors: {
  custom: {
    50: '#6e547f',
    500: '#34144d',
    950: '#000000',
  },
}
SCSS
$custom: #34144d;
$custom-light: #6e547f;
$custom-dark: #000000;
JSON
{
  "hex": "#34144d",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 77
  },
  "hsl": {
    "h": 273.684,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27266,
    "c": 0.10162,
    "h": 306.6
  },
  "luminance": 0.01766
}

Semantic roles & 50–950 ramp

primary
#34144D
secondary
#5A8538
accent
#E2468A
background
#F6F4F7
surface
#ECE8EE
border
#C7C4C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #34144D

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

Preview Lab → · Contrast checker → · Palette generator →

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