#34103A#34103A

#34103A is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.085 H 321.7°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#34103A
RGBrgb(52, 16, 58)
HSLhsl(291, 57%, 15%)
HSVhsv(291, 72%, 23%)
CMYKcmyk(10.3%, 72.4%, 0%, 77.3%)
CIE-LABlab(12.00, 25.29, -19.03)
CIE-LCHlch(12.00, 31.64, 323.04°)
OKLaboklab(25.22% 0.0671 -0.053)
OKLCHoklch(25.22% 0.085 321.7)
XYZxyz(2.3651, 1.4063, 4.1490)
Luminance0.0141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34103A #163A10
analogous
#1F103A #34103A #3A102B
triadic
#34103A #3A3410 #103A34
tetradic
#34103A #3A1F10 #163A10 #102B3A
square
#34103A #3A1F10 #163A10 #102B3A
split-complementary
#34103A #2B3A10 #103A1F
monochromatic
#160718 #160718 #34103A #5F1D6A #8A2A9A

Accessibility & contrast

On white

16.39
#34103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#34103A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34103A
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34103A#FFFFFF#000000##FFFFFF
##34103A1.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071D3B
Deuteranopia (green-blind)
#152139
Tritanopia (blue-blind)
#351723
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #34103a;
/* rgb */ color: rgb(52, 16, 58);
/* oklch */ color: oklch(25.2% 0.085 321.7);
Tailwind
colors: {
  custom: {
    50: '#6d5170',
    500: '#34103a',
    950: '#000000',
  },
}
SCSS
$custom: #34103a;
$custom-light: #6d5170;
$custom-dark: #000000;
JSON
{
  "hex": "#34103a",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 291.429,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25221,
    "c": 0.08547,
    "h": 321.7
  },
  "luminance": 0.01406
}

Semantic roles & 50–950 ramp

primary
#34103A
secondary
#3B7432
accent
#E0485E
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #34103A

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

Preview Lab → · Contrast checker → · Palette generator →

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