#340930#340930

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

Color values

HEX#340930
RGBrgb(52, 9, 48)
HSLhsl(306, 70%, 12%)
HSVhsv(306, 83%, 20%)
CMYKcmyk(0%, 82.7%, 7.7%, 79.6%)
CIE-LABlab(10.10, 26.62, -14.78)
CIE-LCHlch(10.10, 30.45, 330.96°)
OKLaboklab(23.64% 0.0763 -0.0406)
OKLCHoklch(23.64% 0.086 332)
XYZxyz(2.0474, 1.1390, 2.9078)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340930 #09340D
analogous
#230934 #340930 #34091B
triadic
#340930 #303409 #093034
tetradic
#340930 #342309 #09340D #091B34
square
#340930 #342309 #09340D #091B34
split-complementary
#340930 #1B3409 #093423
monochromatic
#1A0518 #1A0518 #340930 #681260 #9C1B90

Accessibility & contrast

On white

17.10
#340930 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#340930 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340930
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340930#FFFFFF#000000##FFFFFF
##3409301.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071831
Deuteranopia (green-blind)
#161E2F
Tritanopia (blue-blind)
#370E1B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340930;
/* rgb */ color: rgb(52, 9, 48);
/* oklch */ color: oklch(23.6% 0.086 332.0);
Tailwind
colors: {
  custom: {
    50: '#6d4d68',
    500: '#340930',
    950: '#000000',
  },
}
SCSS
$custom: #340930;
$custom-light: #6d4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#340930",
  "rgb": {
    "r": 52,
    "g": 9,
    "b": 48
  },
  "hsl": {
    "h": 305.581,
    "s": 70.492,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23636,
    "c": 0.08643,
    "h": 332
  },
  "luminance": 0.01139
}

Semantic roles & 50–950 ramp

primary
#340930
secondary
#27722E
accent
#ED4B3B
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #340930

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

Preview Lab → · Contrast checker → · Palette generator →

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