#34144F#34144F

#34144F is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.4% C 0.104 H 305.4°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#34144F
RGBrgb(52, 20, 79)
HSLhsl(273, 60%, 19%)
HSVhsv(273, 75%, 31%)
CMYKcmyk(34.2%, 74.7%, 0%, 69%)
CIE-LABlab(14.37, 28.45, -29.91)
CIE-LCHlch(14.37, 41.28, 313.56°)
OKLaboklab(27.43% 0.0603 -0.0849)
OKLCHoklch(27.43% 0.104 305.4)
XYZxyz(3.0773, 1.7949, 7.5800)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34144F #2F4F14
analogous
#16144F #34144F #4F144D
triadic
#34144F #4F3414 #144F34
tetradic
#34144F #4F1614 #2F4F14 #144D4F
square
#34144F #4F1614 #2F4F14 #144D4F
split-complementary
#34144F #4D4F14 #144F16
monochromatic
#100618 #14081E #34144F #542080 #742DB1

Accessibility & contrast

On white

15.45
#34144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#34144F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34144F
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34144F#FFFFFF#000000##FFFFFF
##34144F1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#03244E
Tritanopia (blue-blind)
#2F212F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #34144f;
/* rgb */ color: rgb(52, 20, 79);
/* oklch */ color: oklch(27.4% 0.104 305.4);
Tailwind
colors: {
  custom: {
    50: '#6e5481',
    500: '#34144f',
    950: '#000000',
  },
}
SCSS
$custom: #34144f;
$custom-light: #6e5481;
$custom-dark: #000000;
JSON
{
  "hex": "#34144f",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 272.542,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27434,
    "c": 0.10411,
    "h": 305.4
  },
  "luminance": 0.01795
}

Semantic roles & 50–950 ramp

primary
#34144F
secondary
#5C8738
accent
#E3458D
background
#F6F4F7
surface
#ECE8EE
border
#C7C4C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #34144F

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

Preview Lab → · Contrast checker → · Palette generator →

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