#34113F#34113F

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

Color values

HEX#34113F
RGBrgb(52, 17, 63)
HSLhsl(286, 58%, 16%)
HSVhsv(286, 73%, 25%)
CMYKcmyk(17.5%, 73%, 0%, 75.3%)
CIE-LABlab(12.54, 25.94, -21.72)
CIE-LCHlch(12.54, 33.83, 320.06°)
OKLaboklab(25.73% 0.0657 -0.0608)
OKLCHoklch(25.73% 0.09 317.2)
XYZxyz(2.5137, 1.4899, 4.8568)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34113F #1C3F11
analogous
#1D113F #34113F #3F1133
triadic
#34113F #3F3411 #113F34
tetradic
#34113F #3F1D11 #1C3F11 #11333F
square
#34113F #3F1D11 #1C3F11 #11333F
split-complementary
#34113F #333F11 #113F1D
monochromatic
#140718 #140718 #34113F #5C1E6F #842B9F

Accessibility & contrast

On white

16.18
#34113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34113F
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34113F#FFFFFF#000000##FFFFFF
##34113F1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031E40
Deuteranopia (green-blind)
#12223E
Tritanopia (blue-blind)
#341926
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #34113f;
/* rgb */ color: rgb(52, 17, 63);
/* oklch */ color: oklch(25.7% 0.090 317.2);
Tailwind
colors: {
  custom: {
    50: '#6d5274',
    500: '#34113f',
    950: '#000000',
  },
}
SCSS
$custom: #34113f;
$custom-light: #6d5274;
$custom-dark: #000000;
JSON
{
  "hex": "#34113f",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 285.652,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25727,
    "c": 0.08951,
    "h": 317.2
  },
  "luminance": 0.0149
}

Semantic roles & 50–950 ramp

primary
#34113F
secondary
#447833
accent
#E1476C
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #34113F

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

Preview Lab → · Contrast checker → · Palette generator →

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