#340130#340130

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

Color values

HEX#340130
RGBrgb(52, 1, 48)
HSLhsl(305, 96%, 10%)
HSVhsv(305, 98%, 20%)
CMYKcmyk(0%, 98.1%, 7.7%, 79.6%)
CIE-LABlab(8.70, 30.66, -17.00)
CIE-LCHlch(8.70, 35.06, 331.00°)
OKLaboklab(22.64% 0.0881 -0.0469)
OKLCHoklch(22.64% 0.1 331.9)
XYZxyz(1.9605, 0.9653, 2.8788)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340130 #013405
analogous
#1E0134 #340130 #340116
triadic
#340130 #303401 #013034
tetradic
#340130 #341E01 #013405 #011634
square
#340130 #341E01 #013405 #011634
split-complementary
#340130 #163401 #01341E
monochromatic
#1E011C #1E011C #340130 #700267 #AC039F

Accessibility & contrast

On white

17.60
#340130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#340130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340130
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340130#FFFFFF#000000##FFFFFF
##3401301.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001431
Deuteranopia (green-blind)
#121B2F
Tritanopia (blue-blind)
#370618
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340130;
/* rgb */ color: rgb(52, 1, 48);
/* oklch */ color: oklch(22.6% 0.100 331.9);
Tailwind
colors: {
  custom: {
    50: '#6e4968',
    500: '#340130',
    950: '#000000',
  },
}
SCSS
$custom: #340130;
$custom-light: #6e4968;
$custom-dark: #000000;
JSON
{
  "hex": "#340130",
  "rgb": {
    "r": 52,
    "g": 1,
    "b": 48
  },
  "hsl": {
    "h": 304.706,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22636,
    "c": 0.09977,
    "h": 331.9
  },
  "luminance": 0.00965
}

Semantic roles & 50–950 ramp

primary
#340130
secondary
#18791F
accent
#FF3A29
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #340130

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

Preview Lab → · Contrast checker → · Palette generator →

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