#34134B#34134B

#34134B is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.101 H 308.1°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#34134B
RGBrgb(52, 19, 75)
HSLhsl(275, 60%, 18%)
HSVhsv(275, 75%, 29%)
CMYKcmyk(30.7%, 74.7%, 0%, 70.6%)
CIE-LABlab(13.85, 27.91, -28.00)
CIE-LCHlch(13.85, 39.54, 314.91°)
OKLaboklab(26.96% 0.0621 -0.0793)
OKLCHoklch(26.96% 0.101 308.1)
XYZxyz(2.9188, 1.7039, 6.8304)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34134B #2A4B13
analogous
#18134B #34134B #4B1346
triadic
#34134B #4B3413 #134B34
tetradic
#34134B #4B1813 #2A4B13 #13464B
square
#34134B #4B1813 #2A4B13 #13464B
split-complementary
#34134B #464B13 #134B18
monochromatic
#110618 #12071A #34134B #561F7C #782CAD

Accessibility & contrast

On white

15.66
#34134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#34134B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34134B
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34134B#FFFFFF#000000##FFFFFF
##34134B1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#07244A
Tritanopia (blue-blind)
#301F2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #34134b;
/* rgb */ color: rgb(52, 19, 75);
/* oklch */ color: oklch(27.0% 0.101 308.1);
Tailwind
colors: {
  custom: {
    50: '#6e537e',
    500: '#34134b',
    950: '#000000',
  },
}
SCSS
$custom: #34134b;
$custom-light: #6e537e;
$custom-dark: #000000;
JSON
{
  "hex": "#34134b",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 275.357,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26957,
    "c": 0.10069,
    "h": 308.1
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#34134B
secondary
#568436
accent
#E34586
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #34134B

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

Preview Lab → · Contrast checker → · Palette generator →

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