#34083F#34083F

#34083F is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.6% C 0.103 H 318.5°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#34083F
RGBrgb(52, 8, 63)
HSLhsl(288, 77%, 14%)
HSVhsv(288, 87%, 25%)
CMYKcmyk(17.5%, 87.3%, 0%, 75.3%)
CIE-LABlab(11.01, 30.26, -24.17)
CIE-LCHlch(11.01, 38.73, 321.38°)
OKLaboklab(24.63% 0.0769 -0.0679)
OKLCHoklch(24.63% 0.103 318.5)
XYZxyz(2.4001, 1.2627, 4.8190)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34083F #133F08
analogous
#19083F #34083F #3F082F
triadic
#34083F #3F3408 #083F34
tetradic
#34083F #3F1908 #133F08 #082F3F
square
#34083F #3F1908 #133F08 #082F3F
split-complementary
#34083F #2F3F08 #083F19
monochromatic
#16031B #16031B #34083F #610F75 #8E16AC

Accessibility & contrast

On white

16.77
#34083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#34083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34083F
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34083F#FFFFFF#000000##FFFFFF
##34083F1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#0B1F3E
Tritanopia (blue-blind)
#341423
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #34083f;
/* rgb */ color: rgb(52, 8, 63);
/* oklch */ color: oklch(24.6% 0.103 318.5);
Tailwind
colors: {
  custom: {
    50: '#6e4d74',
    500: '#34083f',
    950: '#000000',
  },
}
SCSS
$custom: #34083f;
$custom-light: #6e4d74;
$custom-dark: #000000;
JSON
{
  "hex": "#34083f",
  "rgb": {
    "r": 52,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 288,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24632,
    "c": 0.10264,
    "h": 318.5
  },
  "luminance": 0.01263
}

Semantic roles & 50–950 ramp

primary
#34083F
secondary
#377E25
accent
#F4345A
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #34083F

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

Preview Lab → · Contrast checker → · Palette generator →

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