Skip to content
Kolorvia
#340255

Color #340255

A vivid, highly saturated very dark purple.

Conversions

HEX
#340255
RGB
rgb(52, 2, 85)
HSL
hsl(276.1, 95.4%, 17.1%)
HSV / HSB
hsv(276.1, 97.6%, 33.3%)
CMYK
cmyk(38.8%, 97.6%, 0%, 66.7%)
LAB
lab(12.15, 38.01, -37.63)
LCH
lch(12.15, 53.49, 315.29)
OKLCH
oklch(26.1%, 0.1317, 305.36)
HWB
hwb(276.1, 0.8%, 66.7%)

Harmony colors

Complementary

#235502

Analogous

#0a0255
#340255
#55024d

Triadic

#340255
#553402
#025534

Split-complementary

#340255
#4d5502
#02550a

Tetradic

#340255
#550223
#235502
#025534

Square

#340255
#550a02
#235502
#024d55

Shades

Color #340255 mixed toward black.

#2b0247
#230139
#1a012b
#11011c
#09000e

Tints

Color #340255 mixed toward white.

#5e049a
#8805df
#aa30fa
#c675fc
#e3bafd

Tones

Color #340255 mixed toward gray.

#33094e
#311047
#301740
#2e1e39
#2d2533

Accessibility

Aa White text on this color
16.33:1
Aa Black text on this color
1.29:1

White text reads better on this background (16.33:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#26264a · ΔE 12.6

Deuteranopia

#282b47 · ΔE 15

Tritanopia

#33403e · ΔE 25.2

Achromatopsia

#202020 · ΔE 24.9

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #340255;
Tailwind (arbitrary value)
bg-[#340255]

Related colors

Indigo #4b0082
Dark Orchid #9932cc
Blue Violet #8a2be2
Dark Violet #9400d3
Rebecca Purple #663399
Medium Orchid #ba55d3

Frequently asked questions

#340255 (#340255) is rgb(52, 2, 85) in RGB.

No, #340255 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #340255, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.