#34053C#34053C

#34053C is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.1% C 0.104 H 321.3°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#34053C
RGBrgb(52, 5, 60)
HSLhsl(291, 85%, 13%)
HSVhsv(291, 92%, 24%)
CMYKcmyk(13.3%, 91.7%, 0%, 76.5%)
CIE-LABlab(10.30, 30.98, -23.18)
CIE-LCHlch(10.30, 38.69, 323.19°)
OKLaboklab(24.05% 0.0811 -0.065)
OKLCHoklch(24.05% 0.104 321.3)
XYZxyz(2.2860, 1.1650, 4.3785)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34053C #0D3C05
analogous
#19053C #34053C #3C0528
triadic
#34053C #3C3405 #053C34
tetradic
#34053C #3C1905 #0D3C05 #05283C
square
#34053C #3C1905 #0D3C05 #05283C
split-complementary
#34053C #283C05 #053C19
monochromatic
#18021C #18021C #34053C #650A74 #960EAD

Accessibility & contrast

On white

17.03
#34053C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#34053C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34053C
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34053C#FFFFFF#000000##FFFFFF
##34053C1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#0C1E3B
Tritanopia (blue-blind)
#341021
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #34053c;
/* rgb */ color: rgb(52, 5, 60);
/* oklch */ color: oklch(24.1% 0.104 321.3);
Tailwind
colors: {
  custom: {
    50: '#6e4c72',
    500: '#34053c',
    950: '#000000',
  },
}
SCSS
$custom: #34053c;
$custom-light: #6e4c72;
$custom-dark: #000000;
JSON
{
  "hex": "#34053c",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 60
  },
  "hsl": {
    "h": 291.273,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24051,
    "c": 0.10391,
    "h": 321.3
  },
  "luminance": 0.01165
}

Semantic roles & 50–950 ramp

primary
#34053C
secondary
#2D7D20
accent
#FB2D4B
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070108
muted
#7A777B

Preview Lab

Preview with #34053C

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

Preview Lab → · Contrast checker → · Palette generator →

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