#340136#340136

#340136 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.105 H 326.6°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#340136
RGBrgb(52, 1, 54)
HSLhsl(298, 96%, 11%)
HSVhsv(298, 98%, 21%)
CMYKcmyk(3.7%, 98.1%, 0%, 78.8%)
CIE-LABlab(9.14, 31.77, -20.70)
CIE-LCHlch(9.14, 37.91, 326.92°)
OKLaboklab(23.09% 0.0875 -0.0577)
OKLCHoklch(23.09% 0.105 326.6)
XYZxyz(2.0928, 1.0183, 3.5756)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340136 #033601
analogous
#190136 #340136 #36011D
triadic
#340136 #363401 #013634
tetradic
#340136 #361901 #033601 #011D36
square
#340136 #361901 #033601 #011D36
split-complementary
#340136 #1D3601 #013619
monochromatic
#1D011E #1D011E #340136 #6E0272 #A803AE

Accessibility & contrast

On white

17.45
#340136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#340136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340136
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340136#FFFFFF#000000##FFFFFF
##3401361.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#0E1C35
Tritanopia (blue-blind)
#360A1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340136;
/* rgb */ color: rgb(52, 1, 54);
/* oklch */ color: oklch(23.1% 0.105 326.6);
Tailwind
colors: {
  custom: {
    50: '#6e496d',
    500: '#340136',
    950: '#000000',
  },
}
SCSS
$custom: #340136;
$custom-light: #6e496d;
$custom-dark: #000000;
JSON
{
  "hex": "#340136",
  "rgb": {
    "r": 52,
    "g": 1,
    "b": 54
  },
  "hsl": {
    "h": 297.736,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.23091,
    "c": 0.10477,
    "h": 326.6
  },
  "luminance": 0.01018
}

Semantic roles & 50–950 ramp

primary
#340136
secondary
#1C7B18
accent
#FF2931
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #340136

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

Preview Lab → · Contrast checker → · Palette generator →

#340136 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva