#34133F#34133F

#34133F is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.0% C 0.086 H 316.8°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#34133F
RGBrgb(52, 19, 63)
HSLhsl(285, 54%, 16%)
HSVhsv(285, 70%, 25%)
CMYKcmyk(17.5%, 69.8%, 0%, 75.3%)
CIE-LABlab(12.95, 24.81, -21.06)
CIE-LCHlch(12.95, 32.55, 319.67°)
OKLaboklab(26.02% 0.0627 -0.0589)
OKLCHoklch(26.02% 0.086 316.8)
XYZxyz(2.5461, 1.5548, 4.8676)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34133F #1E3F13
analogous
#1E133F #34133F #3F1334
triadic
#34133F #3F3413 #133F34
tetradic
#34133F #3F1E13 #1E3F13 #13343F
square
#34133F #3F1E13 #1E3F13 #13343F
split-complementary
#34133F #343F13 #133F1E
monochromatic
#130718 #130718 #34133F #5B216E #822F9D

Accessibility & contrast

On white

16.02
#34133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#34133F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34133F
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34133F#FFFFFF#000000##FFFFFF
##34133F1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061F40
Deuteranopia (green-blind)
#14223E
Tritanopia (blue-blind)
#341B26
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #34133f;
/* rgb */ color: rgb(52, 19, 63);
/* oklch */ color: oklch(26.0% 0.086 316.8);
Tailwind
colors: {
  custom: {
    50: '#6d5374',
    500: '#34133f',
    950: '#000000',
  },
}
SCSS
$custom: #34133f;
$custom-light: #6d5374;
$custom-dark: #000000;
JSON
{
  "hex": "#34133f",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 285,
    "s": 53.659,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26023,
    "c": 0.08608,
    "h": 316.8
  },
  "luminance": 0.01555
}

Semantic roles & 50–950 ramp

primary
#34133F
secondary
#477836
accent
#DD4B6F
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #34133F

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

Preview Lab → · Contrast checker → · Palette generator →

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