#34103F#34103F

#34103F is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.6% C 0.091 H 317.4°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#34103F
RGBrgb(52, 16, 63)
HSLhsl(286, 59%, 15%)
HSVhsv(286, 75%, 25%)
CMYKcmyk(17.5%, 74.6%, 0%, 75.3%)
CIE-LABlab(12.35, 26.47, -22.03)
CIE-LCHlch(12.35, 34.44, 320.24°)
OKLaboklab(25.59% 0.0671 -0.0617)
OKLCHoklch(25.59% 0.091 317.4)
XYZxyz(2.4985, 1.4596, 4.8518)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34103F #1B3F10
analogous
#1C103F #34103F #3F1032
triadic
#34103F #3F3410 #103F34
tetradic
#34103F #3F1C10 #1B3F10 #10323F
square
#34103F #3F1C10 #1B3F10 #10323F
split-complementary
#34103F #323F10 #103F1C
monochromatic
#140618 #140618 #34103F #5C1C70 #8529A1

Accessibility & contrast

On white

16.25
#34103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#34103F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34103F
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34103F#FFFFFF#000000##FFFFFF
##34103F1.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021E40
Deuteranopia (green-blind)
#11213E
Tritanopia (blue-blind)
#341925
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #34103f;
/* rgb */ color: rgb(52, 16, 63);
/* oklch */ color: oklch(25.6% 0.091 317.4);
Tailwind
colors: {
  custom: {
    50: '#6d5174',
    500: '#34103f',
    950: '#000000',
  },
}
SCSS
$custom: #34103f;
$custom-light: #6d5174;
$custom-dark: #000000;
JSON
{
  "hex": "#34103f",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 285.957,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25587,
    "c": 0.09116,
    "h": 317.4
  },
  "luminance": 0.0146
}

Semantic roles & 50–950 ramp

primary
#34103F
secondary
#427932
accent
#E3456A
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #34103F

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

Preview Lab → · Contrast checker → · Palette generator →

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