#34063A#34063A

#34063A is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.101 H 322.8°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#34063A
RGBrgb(52, 6, 58)
HSLhsl(293, 81%, 13%)
HSVhsv(293, 90%, 23%)
CMYKcmyk(10.3%, 89.7%, 0%, 77.3%)
CIE-LABlab(10.30, 30.08, -21.73)
CIE-LCHlch(10.30, 37.11, 324.15°)
OKLaboklab(24.01% 0.0801 -0.0608)
OKLCHoklch(24.01% 0.101 322.8)
XYZxyz(2.2449, 1.1659, 4.1090)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34063A #0C3A06
analogous
#1A063A #34063A #3A0626
triadic
#34063A #3A3406 #063A34
tetradic
#34063A #3A1A06 #0C3A06 #06263A
square
#34063A #3A1A06 #0C3A06 #06263A
split-complementary
#34063A #263A06 #063A1A
monochromatic
#19031C #19031C #34063A #660C71 #9711A9

Accessibility & contrast

On white

17.03
#34063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#34063A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34063A
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34063A#FFFFFF#000000##FFFFFF
##34063A1.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)
#00193B
Deuteranopia (green-blind)
#0E1E39
Tritanopia (blue-blind)
#351020
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #34063a;
/* rgb */ color: rgb(52, 6, 58);
/* oklch */ color: oklch(24.0% 0.101 322.8);
Tailwind
colors: {
  custom: {
    50: '#6e4c70',
    500: '#34063a',
    950: '#000000',
  },
}
SCSS
$custom: #34063a;
$custom-light: #6e4c70;
$custom-dark: #000000;
JSON
{
  "hex": "#34063a",
  "rgb": {
    "r": 52,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 293.077,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24007,
    "c": 0.10052,
    "h": 322.8
  },
  "luminance": 0.01166
}

Semantic roles & 50–950 ramp

primary
#34063A
secondary
#2C7A22
accent
#F83047
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #34063A

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

Preview Lab → · Contrast checker → · Palette generator →

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