#340330#340330

#340330 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.096 H 331.9°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#340330
RGBrgb(52, 3, 48)
HSLhsl(305, 89%, 11%)
HSVhsv(305, 94%, 20%)
CMYKcmyk(0%, 94.2%, 7.7%, 79.6%)
CIE-LABlab(9.06, 29.59, -16.42)
CIE-LCHlch(9.06, 33.84, 330.98°)
OKLaboklab(22.9% 0.0849 -0.0453)
OKLCHoklch(22.9% 0.096 331.9)
XYZxyz(1.9822, 1.0088, 2.8860)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340330 #033407
analogous
#1F0334 #340330 #340317
triadic
#340330 #303403 #033034
tetradic
#340330 #341F03 #033407 #031734
square
#340330 #341F03 #033407 #031734
split-complementary
#340330 #173403 #03341F
monochromatic
#1D021B #1D021B #340330 #6E0665 #A80A9B

Accessibility & contrast

On white

17.47
#340330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#340330 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340330
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340330#FFFFFF#000000##FFFFFF
##3403301.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001531
Deuteranopia (green-blind)
#131C2F
Tritanopia (blue-blind)
#370819
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340330;
/* rgb */ color: rgb(52, 3, 48);
/* oklch */ color: oklch(22.9% 0.096 331.9);
Tailwind
colors: {
  custom: {
    50: '#6e4a68',
    500: '#340330',
    950: '#000000',
  },
}
SCSS
$custom: #340330;
$custom-light: #6e4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#340330",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 48
  },
  "hsl": {
    "h": 304.898,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22895,
    "c": 0.09625,
    "h": 331.9
  },
  "luminance": 0.01009
}

Semantic roles & 50–950 ramp

primary
#340330
secondary
#1C7723
accent
#FF3A29
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #340330

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

Preview Lab → · Contrast checker → · Palette generator →

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