#34113E#34113E

#34113E is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.7% C 0.088 H 318.0°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#34113E
RGBrgb(52, 17, 62)
HSLhsl(287, 57%, 15%)
HSVhsv(287, 73%, 24%)
CMYKcmyk(16.1%, 72.6%, 0%, 75.7%)
CIE-LABlab(12.47, 25.69, -21.12)
CIE-LCHlch(12.47, 33.26, 320.57°)
OKLaboklab(25.65% 0.0657 -0.0591)
OKLCHoklch(25.65% 0.088 318)
XYZxyz(2.4860, 1.4789, 4.7110)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34113E #1B3E11
analogous
#1D113E #34113E #3E1131
triadic
#34113E #3E3411 #113E34
tetradic
#34113E #3E1D11 #1B3E11 #11313E
square
#34113E #3E1D11 #1B3E11 #11313E
split-complementary
#34113E #313E11 #113E1D
monochromatic
#140718 #140718 #34113E #5C1E6E #852B9E

Accessibility & contrast

On white

16.21
#34113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#34113E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34113E
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34113E#FFFFFF#000000##FFFFFF
##34113E1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3F
Deuteranopia (green-blind)
#13223D
Tritanopia (blue-blind)
#341925
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #34113e;
/* rgb */ color: rgb(52, 17, 62);
/* oklch */ color: oklch(25.7% 0.088 318.0);
Tailwind
colors: {
  custom: {
    50: '#6d5273',
    500: '#34113e',
    950: '#000000',
  },
}
SCSS
$custom: #34113e;
$custom-light: #6d5273;
$custom-dark: #000000;
JSON
{
  "hex": "#34113e",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 286.667,
    "s": 56.962,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25653,
    "c": 0.08835,
    "h": 318
  },
  "luminance": 0.01479
}

Semantic roles & 50–950 ramp

primary
#34113E
secondary
#427733
accent
#E04869
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #34113E

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

Preview Lab → · Contrast checker → · Palette generator →

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