#340633#340633

#340633 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.094 H 329.0°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#340633
RGBrgb(52, 6, 51)
HSLhsl(301, 79%, 11%)
HSVhsv(301, 88%, 20%)
CMYKcmyk(0%, 88.5%, 1.9%, 79.6%)
CIE-LABlab(9.79, 28.65, -17.47)
CIE-LCHlch(9.79, 33.55, 328.63°)
OKLaboklab(23.48% 0.0805 -0.0483)
OKLCHoklch(23.48% 0.094 329)
XYZxyz(2.0788, 1.0995, 3.2341)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340633 #063407
analogous
#1E0634 #340633 #34061C
triadic
#340633 #333406 #063334
tetradic
#340633 #341E06 #063407 #061C34
square
#340633 #341E06 #063407 #061C34
split-complementary
#340633 #1C3406 #06341E
monochromatic
#1B031B #1B031B #340633 #6B0C69 #A2139F

Accessibility & contrast

On white

17.22
#340633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340633
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340633#FFFFFF#000000##FFFFFF
##3406331.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340633;
/* rgb */ color: rgb(52, 6, 51);
/* oklch */ color: oklch(23.5% 0.094 329.0);
Tailwind
colors: {
  custom: {
    50: '#6e4c6b',
    500: '#340633',
    950: '#000000',
  },
}
SCSS
$custom: #340633;
$custom-light: #6e4c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#340633",
  "rgb": {
    "r": 52,
    "g": 6,
    "b": 51
  },
  "hsl": {
    "h": 301.304,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.23481,
    "c": 0.09393,
    "h": 329
  },
  "luminance": 0.01099
}

Semantic roles & 50–950 ramp

primary
#340633
secondary
#217423
accent
#F63632
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #340633

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

Preview Lab → · Contrast checker → · Palette generator →

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