#34134F#34134F

#34134F is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.3% C 0.106 H 305.6°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#34134F
RGBrgb(52, 19, 79)
HSLhsl(273, 61%, 19%)
HSVhsv(273, 76%, 31%)
CMYKcmyk(34.2%, 75.9%, 0%, 69%)
CIE-LABlab(14.18, 28.99, -30.23)
CIE-LCHlch(14.18, 41.89, 313.81°)
OKLaboklab(27.29% 0.0615 -0.0858)
OKLCHoklch(27.29% 0.106 305.6)
XYZxyz(3.0600, 1.7603, 7.5742)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34134F #2E4F13
analogous
#16134F #34134F #4F134C
triadic
#34134F #4F3413 #134F34
tetradic
#34134F #4F1613 #2E4F13 #134C4F
square
#34134F #4F1613 #2E4F13 #134C4F
split-complementary
#34134F #4C4F13 #134F16
monochromatic
#100619 #14071E #34134F #541F80 #752BB2

Accessibility & contrast

On white

15.53
#34134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#34134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34134F
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34134F#FFFFFF#000000##FFFFFF
##34134F1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34134f;
/* rgb */ color: rgb(52, 19, 79);
/* oklch */ color: oklch(27.3% 0.106 305.6);
Tailwind
colors: {
  custom: {
    50: '#6e5481',
    500: '#34134f',
    950: '#000000',
  },
}
SCSS
$custom: #34134f;
$custom-light: #6e5481;
$custom-dark: #000000;
JSON
{
  "hex": "#34134f",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 273,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27294,
    "c": 0.10559,
    "h": 305.6
  },
  "luminance": 0.0176
}

Semantic roles & 50–950 ramp

primary
#34134F
secondary
#5B8836
accent
#E4438C
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #34134F

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

Preview Lab → · Contrast checker → · Palette generator →

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