#34113A#34113A

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

Color values

HEX#34113A
RGBrgb(52, 17, 58)
HSLhsl(291, 55%, 15%)
HSVhsv(291, 71%, 23%)
CMYKcmyk(10.3%, 70.7%, 0%, 77.3%)
CIE-LABlab(12.20, 24.74, -18.71)
CIE-LCHlch(12.20, 31.02, 322.90°)
OKLaboklab(25.37% 0.0656 -0.0521)
OKLCHoklch(25.37% 0.084 321.6)
XYZxyz(2.3803, 1.4366, 4.1541)
Luminance0.0144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34113A #173A11
analogous
#20113A #34113A #3A112C
triadic
#34113A #3A3411 #113A34
tetradic
#34113A #3A2011 #173A11 #112C3A
square
#34113A #3A2011 #173A11 #112C3A
split-complementary
#34113A #2C3A11 #113A20
monochromatic
#150718 #150718 #34113A #5E1F69 #892D99

Accessibility & contrast

On white

16.31
#34113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34113A
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34113A#FFFFFF#000000##FFFFFF
##34113A1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081D3B
Deuteranopia (green-blind)
#162139
Tritanopia (blue-blind)
#351723
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #34113a;
/* rgb */ color: rgb(52, 17, 58);
/* oklch */ color: oklch(25.4% 0.084 321.6);
Tailwind
colors: {
  custom: {
    50: '#6d5270',
    500: '#34113a',
    950: '#000000',
  },
}
SCSS
$custom: #34113a;
$custom-light: #6d5270;
$custom-dark: #000000;
JSON
{
  "hex": "#34113a",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 291.22,
    "s": 54.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25366,
    "c": 0.08374,
    "h": 321.6
  },
  "luminance": 0.01436
}

Semantic roles & 50–950 ramp

primary
#34113A
secondary
#3D7333
accent
#DE4A5F
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #34113A

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

Preview Lab → · Contrast checker → · Palette generator →

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