#34123E#34123E

#34123E is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.8% C 0.087 H 317.8°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#34123E
RGBrgb(52, 18, 62)
HSLhsl(286, 55%, 16%)
HSVhsv(286, 71%, 24%)
CMYKcmyk(16.1%, 71%, 0%, 75.7%)
CIE-LABlab(12.68, 25.13, -20.80)
CIE-LCHlch(12.68, 32.62, 320.39°)
OKLaboklab(25.8% 0.0642 -0.0582)
OKLCHoklch(25.8% 0.087 317.8)
XYZxyz(2.5019, 1.5106, 4.7163)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34123E #1C3E12
analogous
#1E123E #34123E #3E1232
triadic
#34123E #3E3412 #123E34
tetradic
#34123E #3E1E12 #1C3E12 #12323E
square
#34123E #3E1E12 #1C3E12 #12323E
split-complementary
#34123E #323E12 #123E1E
monochromatic
#140718 #140718 #34123E #5C206D #842E9D

Accessibility & contrast

On white

16.13
#34123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#34123E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34123E
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34123E#FFFFFF#000000##FFFFFF
##34123E1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061F3F
Deuteranopia (green-blind)
#14223D
Tritanopia (blue-blind)
#341A26
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #34123e;
/* rgb */ color: rgb(52, 18, 62);
/* oklch */ color: oklch(25.8% 0.087 317.8);
Tailwind
colors: {
  custom: {
    50: '#6d5273',
    500: '#34123e',
    950: '#000000',
  },
}
SCSS
$custom: #34123e;
$custom-light: #6d5273;
$custom-dark: #000000;
JSON
{
  "hex": "#34123e",
  "rgb": {
    "r": 52,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 286.364,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25799,
    "c": 0.08663,
    "h": 317.8
  },
  "luminance": 0.0151
}

Semantic roles & 50–950 ramp

primary
#34123E
secondary
#447735
accent
#DE496B
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #34123E

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

Preview Lab → · Contrast checker → · Palette generator →

#34123E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva