#34123C#34123C

#34123C is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.7% C 0.084 H 319.6°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#34123C
RGBrgb(52, 18, 60)
HSLhsl(289, 54%, 15%)
HSVhsv(289, 70%, 24%)
CMYKcmyk(13.3%, 70%, 0%, 76.5%)
CIE-LABlab(12.54, 24.65, -19.60)
CIE-LCHlch(12.54, 31.49, 321.51°)
OKLaboklab(25.66% 0.0642 -0.0547)
OKLCHoklch(25.66% 0.084 319.6)
XYZxyz(2.4480, 1.4890, 4.4326)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34123C #1A3C12
analogous
#1F123C #34123C #3C122F
triadic
#34123C #3C3412 #123C34
tetradic
#34123C #3C1F12 #1A3C12 #122F3C
square
#34123C #3C1F12 #1A3C12 #122F3C
split-complementary
#34123C #2F3C12 #123C1F
monochromatic
#140718 #140718 #34123C #5D206B #862E9A

Accessibility & contrast

On white

16.18
#34123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34123C
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34123C#FFFFFF#000000##FFFFFF
##34123C1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081E3D
Deuteranopia (green-blind)
#15223B
Tritanopia (blue-blind)
#341925
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #34123c;
/* rgb */ color: rgb(52, 18, 60);
/* oklch */ color: oklch(25.7% 0.084 319.6);
Tailwind
colors: {
  custom: {
    50: '#6d5272',
    500: '#34123c',
    950: '#000000',
  },
}
SCSS
$custom: #34123c;
$custom-light: #6d5272;
$custom-dark: #000000;
JSON
{
  "hex": "#34123c",
  "rgb": {
    "r": 52,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 288.571,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25656,
    "c": 0.08429,
    "h": 319.6
  },
  "luminance": 0.01489
}

Semantic roles & 50–950 ramp

primary
#34123C
secondary
#417535
accent
#DD4B67
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070208
muted
#7A787B

Preview Lab

Preview with #34123C

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

Preview Lab → · Contrast checker → · Palette generator →

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