#34053B#34053B

#34053B is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.103 H 322.1°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#34053B
RGBrgb(52, 5, 59)
HSLhsl(292, 84%, 13%)
HSVhsv(292, 92%, 23%)
CMYKcmyk(11.9%, 91.5%, 0%, 76.9%)
CIE-LABlab(10.22, 30.77, -22.59)
CIE-LCHlch(10.22, 38.17, 323.71°)
OKLaboklab(23.97% 0.0812 -0.0633)
OKLCHoklch(23.97% 0.103 322.1)
XYZxyz(2.2598, 1.1545, 4.2406)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34053B #0C3B05
analogous
#19053B #34053B #3B0527
triadic
#34053B #3B3405 #053B34
tetradic
#34053B #3B1905 #0C3B05 #05273B
square
#34053B #3B1905 #0C3B05 #05273B
split-complementary
#34053B #273B05 #053B19
monochromatic
#19021C #19021C #34053B #660A73 #970FAC

Accessibility & contrast

On white

17.06
#34053B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34053B
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34053B#FFFFFF#000000##FFFFFF
##34053B1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#0D1E3A
Tritanopia (blue-blind)
#351020
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #34053b;
/* rgb */ color: rgb(52, 5, 59);
/* oklch */ color: oklch(24.0% 0.103 322.1);
Tailwind
colors: {
  custom: {
    50: '#6e4c71',
    500: '#34053b',
    950: '#000000',
  },
}
SCSS
$custom: #34053b;
$custom-light: #6e4c71;
$custom-dark: #000000;
JSON
{
  "hex": "#34053b",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 59
  },
  "hsl": {
    "h": 292.222,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2397,
    "c": 0.10295,
    "h": 322.1
  },
  "luminance": 0.01154
}

Semantic roles & 50–950 ramp

primary
#34053B
secondary
#2C7C20
accent
#FB2D48
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #34053B

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

Preview Lab → · Contrast checker → · Palette generator →

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