#34053F#34053F

#34053F is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.3% C 0.107 H 318.9°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#34053F
RGBrgb(52, 5, 63)
HSLhsl(289, 85%, 13%)
HSVhsv(289, 92%, 25%)
CMYKcmyk(17.5%, 92.1%, 0%, 75.3%)
CIE-LABlab(10.54, 31.63, -24.93)
CIE-LCHlch(10.54, 40.27, 321.75°)
OKLaboklab(24.3% 0.0805 -0.0702)
OKLCHoklch(24.3% 0.107 318.9)
XYZxyz(2.3675, 1.1976, 4.8081)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34053F #103F05
analogous
#17053F #34053F #3F052D
triadic
#34053F #3F3405 #053F34
tetradic
#34053F #3F1705 #103F05 #052D3F
square
#34053F #3F1705 #103F05 #052D3F
split-complementary
#34053F #2D3F05 #053F17
monochromatic
#17021C #17021C #34053F #630978 #920EB0

Accessibility & contrast

On white

16.94
#34053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#34053F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34053F
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34053F#FFFFFF#000000##FFFFFF
##34053F1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A41
Deuteranopia (green-blind)
#091E3E
Tritanopia (blue-blind)
#341222
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #34053f;
/* rgb */ color: rgb(52, 5, 63);
/* oklch */ color: oklch(24.3% 0.107 318.9);
Tailwind
colors: {
  custom: {
    50: '#6e4c74',
    500: '#34053f',
    950: '#000000',
  },
}
SCSS
$custom: #34053f;
$custom-light: #6e4c74;
$custom-dark: #000000;
JSON
{
  "hex": "#34053f",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 288.621,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24299,
    "c": 0.10678,
    "h": 318.9
  },
  "luminance": 0.01197
}

Semantic roles & 50–950 ramp

primary
#34053F
secondary
#328020
accent
#FC2C54
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #34053F

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

Preview Lab → · Contrast checker → · Palette generator →

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