#340630#340630

#340630 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.091 H 332.0°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#340630
RGBrgb(52, 6, 48)
HSLhsl(305, 79%, 11%)
HSVhsv(305, 88%, 20%)
CMYKcmyk(0%, 88.5%, 7.7%, 79.6%)
CIE-LABlab(9.59, 28.07, -15.58)
CIE-LCHlch(9.59, 32.10, 330.96°)
OKLaboklab(23.27% 0.0805 -0.0429)
OKLCHoklch(23.27% 0.091 332)
XYZxyz(2.0148, 1.0739, 2.8969)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340630 #06340A
analogous
#210634 #340630 #340619
triadic
#340630 #303406 #063034
tetradic
#340630 #342106 #06340A #061934
square
#340630 #342106 #06340A #061934
split-complementary
#340630 #193406 #063421
monochromatic
#1B0319 #1B0319 #340630 #6B0C63 #A21395

Accessibility & contrast

On white

17.29
#340630 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#340630 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340630
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340630#FFFFFF#000000##FFFFFF
##3406301.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041731
Deuteranopia (green-blind)
#151D2F
Tritanopia (blue-blind)
#370B1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340630;
/* rgb */ color: rgb(52, 6, 48);
/* oklch */ color: oklch(23.3% 0.091 332.0);
Tailwind
colors: {
  custom: {
    50: '#6e4b68',
    500: '#340630',
    950: '#000000',
  },
}
SCSS
$custom: #340630;
$custom-light: #6e4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#340630",
  "rgb": {
    "r": 52,
    "g": 6,
    "b": 48
  },
  "hsl": {
    "h": 305.217,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.23272,
    "c": 0.09121,
    "h": 332
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#340630
secondary
#217429
accent
#F64332
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #340630

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

Preview Lab → · Contrast checker → · Palette generator →

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