#34063F#34063F

#34063F is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.4% C 0.105 H 318.8°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#34063F
RGBrgb(52, 6, 63)
HSLhsl(288, 83%, 14%)
HSVhsv(288, 90%, 25%)
CMYKcmyk(17.5%, 90.5%, 0%, 75.3%)
CIE-LABlab(10.70, 31.16, -24.68)
CIE-LCHlch(10.70, 39.75, 321.63°)
OKLaboklab(24.41% 0.0793 -0.0694)
OKLCHoklch(24.41% 0.105 318.8)
XYZxyz(2.3784, 1.2193, 4.8117)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34063F #113F06
analogous
#17063F #34063F #3F062D
triadic
#34063F #3F3406 #063F34
tetradic
#34063F #3F1706 #113F06 #062D3F
square
#34063F #3F1706 #113F06 #062D3F
split-complementary
#34063F #2D3F06 #063F17
monochromatic
#17031C #17031C #34063F #620B77 #9011AF

Accessibility & contrast

On white

16.88
#34063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34063F
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34063F#FFFFFF#000000##FFFFFF
##34063F1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34063f;
/* rgb */ color: rgb(52, 6, 63);
/* oklch */ color: oklch(24.4% 0.105 318.8);
Tailwind
colors: {
  custom: {
    50: '#6e4c74',
    500: '#34063f',
    950: '#000000',
  },
}
SCSS
$custom: #34063f;
$custom-light: #6e4c74;
$custom-dark: #000000;
JSON
{
  "hex": "#34063f",
  "rgb": {
    "r": 52,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 288.421,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24411,
    "c": 0.10538,
    "h": 318.8
  },
  "luminance": 0.01219
}

Semantic roles & 50–950 ramp

primary
#34063F
secondary
#347F22
accent
#F92F56
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #34063F

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

Preview Lab → · Contrast checker → · Palette generator →

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