#34123F#34123F

#34123F is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.088 H 317.0°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#34123F
RGBrgb(52, 18, 63)
HSLhsl(285, 56%, 16%)
HSVhsv(285, 71%, 25%)
CMYKcmyk(17.5%, 71.4%, 0%, 75.3%)
CIE-LABlab(12.75, 25.38, -21.39)
CIE-LCHlch(12.75, 33.19, 319.87°)
OKLaboklab(25.87% 0.0642 -0.0599)
OKLCHoklch(25.87% 0.088 317)
XYZxyz(2.5296, 1.5217, 4.8621)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34123F #1D3F12
analogous
#1D123F #34123F #3F1233
triadic
#34123F #3F3412 #123F34
tetradic
#34123F #3F1D12 #1D3F12 #12333F
square
#34123F #3F1D12 #1D3F12 #12333F
split-complementary
#34123F #333F12 #123F1D
monochromatic
#140718 #140718 #34123F #5B206F #832D9E

Accessibility & contrast

On white

16.10
#34123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34123F
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34123F#FFFFFF#000000##FFFFFF
##34123F1.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051F40
Deuteranopia (green-blind)
#13223E
Tritanopia (blue-blind)
#341A26
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #34123f;
/* rgb */ color: rgb(52, 18, 63);
/* oklch */ color: oklch(25.9% 0.088 317.0);
Tailwind
colors: {
  custom: {
    50: '#6d5274',
    500: '#34123f',
    950: '#000000',
  },
}
SCSS
$custom: #34123f;
$custom-light: #6d5274;
$custom-dark: #000000;
JSON
{
  "hex": "#34123f",
  "rgb": {
    "r": 52,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 285.333,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25873,
    "c": 0.08782,
    "h": 317
  },
  "luminance": 0.01522
}

Semantic roles & 50–950 ramp

primary
#34123F
secondary
#457835
accent
#DF496E
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #34123F

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

Preview Lab → · Contrast checker → · Palette generator →

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