#340533#340533

#340533 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.096 H 329.1°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#340533
RGBrgb(52, 5, 51)
HSLhsl(301, 82%, 11%)
HSVhsv(301, 90%, 20%)
CMYKcmyk(0%, 90.4%, 1.9%, 79.6%)
CIE-LABlab(9.62, 29.14, -17.74)
CIE-LCHlch(9.62, 34.11, 328.67°)
OKLaboklab(23.36% 0.0819 -0.0491)
OKLCHoklch(23.36% 0.096 329.1)
XYZxyz(2.0680, 1.0778, 3.2304)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340533 #053406
analogous
#1D0534 #340533 #34051B
triadic
#340533 #333405 #053334
tetradic
#340533 #341D05 #053406 #051B34
square
#340533 #341D05 #053406 #051B34
split-complementary
#340533 #1B3405 #05341D
monochromatic
#1C031B #1C031B #340533 #6C0A6A #A410A1

Accessibility & contrast

On white

17.28
#340533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#340533 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340533
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340533#FFFFFF#000000##FFFFFF
##3405331.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001734
Deuteranopia (green-blind)
#131D32
Tritanopia (blue-blind)
#360C1B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340533;
/* rgb */ color: rgb(52, 5, 51);
/* oklch */ color: oklch(23.4% 0.096 329.1);
Tailwind
colors: {
  custom: {
    50: '#6e4b6b',
    500: '#340533',
    950: '#000000',
  },
}
SCSS
$custom: #340533;
$custom-light: #6e4b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#340533",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 51
  },
  "hsl": {
    "h": 301.277,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.23359,
    "c": 0.09554,
    "h": 329.1
  },
  "luminance": 0.01078
}

Semantic roles & 50–950 ramp

primary
#340533
secondary
#1F7521
accent
#F9332F
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #340533

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

Preview Lab → · Contrast checker → · Palette generator →

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