#34113C#34113C

#34113C is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.5% C 0.086 H 319.7°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#34113C
RGBrgb(52, 17, 60)
HSLhsl(289, 56%, 15%)
HSVhsv(289, 72%, 24%)
CMYKcmyk(13.3%, 71.7%, 0%, 76.5%)
CIE-LABlab(12.33, 25.21, -19.92)
CIE-LCHlch(12.33, 32.13, 321.68°)
OKLaboklab(25.51% 0.0657 -0.0556)
OKLCHoklch(25.51% 0.086 319.7)
XYZxyz(2.4321, 1.4573, 4.4273)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34113C #193C11
analogous
#1E113C #34113C #3C112F
triadic
#34113C #3C3411 #113C34
tetradic
#34113C #3C1E11 #193C11 #112F3C
square
#34113C #3C1E11 #193C11 #112F3C
split-complementary
#34113C #2F3C11 #113C1E
monochromatic
#150718 #150718 #34113C #5D1F6C #872C9B

Accessibility & contrast

On white

16.26
#34113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34113C
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34113C#FFFFFF#000000##FFFFFF
##34113C1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061E3D
Deuteranopia (green-blind)
#14213B
Tritanopia (blue-blind)
#341824
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #34113c;
/* rgb */ color: rgb(52, 17, 60);
/* oklch */ color: oklch(25.5% 0.086 319.7);
Tailwind
colors: {
  custom: {
    50: '#6d5272',
    500: '#34113c',
    950: '#000000',
  },
}
SCSS
$custom: #34113c;
$custom-light: #6d5272;
$custom-dark: #000000;
JSON
{
  "hex": "#34113c",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 288.837,
    "s": 55.844,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25508,
    "c": 0.08603,
    "h": 319.7
  },
  "luminance": 0.01457
}

Semantic roles & 50–950 ramp

primary
#34113C
secondary
#407533
accent
#DF4965
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070208
muted
#7A787B

Preview Lab

Preview with #34113C

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

Preview Lab → · Contrast checker → · Palette generator →

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