#34113B#34113B

#34113B is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.4% C 0.085 H 320.6°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#34113B
RGBrgb(52, 17, 59)
HSLhsl(290, 55%, 15%)
HSVhsv(290, 71%, 23%)
CMYKcmyk(11.9%, 71.2%, 0%, 76.9%)
CIE-LABlab(12.27, 24.97, -19.32)
CIE-LCHlch(12.27, 31.57, 322.28°)
OKLaboklab(25.44% 0.0656 -0.0538)
OKLCHoklch(25.44% 0.085 320.6)
XYZxyz(2.4059, 1.4468, 4.2894)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34113B #183B11
analogous
#1F113B #34113B #3B112D
triadic
#34113B #3B3411 #113B34
tetradic
#34113B #3B1F11 #183B11 #112D3B
square
#34113B #3B1F11 #183B11 #112D3B
split-complementary
#34113B #2D3B11 #113B1F
monochromatic
#150718 #150718 #34113B #5E1F6B #882C9A

Accessibility & contrast

On white

16.29
#34113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#34113B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34113B
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34113B#FFFFFF#000000##FFFFFF
##34113B1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071E3C
Deuteranopia (green-blind)
#15213A
Tritanopia (blue-blind)
#341824
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #34113b;
/* rgb */ color: rgb(52, 17, 59);
/* oklch */ color: oklch(25.4% 0.085 320.6);
Tailwind
colors: {
  custom: {
    50: '#6d5271',
    500: '#34113b',
    950: '#000000',
  },
}
SCSS
$custom: #34113b;
$custom-light: #6d5271;
$custom-dark: #000000;
JSON
{
  "hex": "#34113b",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 290,
    "s": 55.263,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25436,
    "c": 0.08489,
    "h": 320.6
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#34113B
secondary
#3E7433
accent
#DF4962
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #34113B

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

Preview Lab → · Contrast checker → · Palette generator →

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