#341E4D#341E4D

#341E4D is a dark, moderate violet. Relative luminance 0.022; OKLCH L 28.9% C 0.085 H 303.1°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#341E4D
RGBrgb(52, 30, 77)
HSLhsl(268, 44%, 21%)
HSVhsv(268, 61%, 30%)
CMYKcmyk(32.5%, 61%, 0%, 69.8%)
CIE-LABlab(16.48, 21.80, -25.16)
CIE-LCHlch(16.48, 33.29, 310.91°)
OKLaboklab(28.91% 0.0463 -0.071)
OKLCHoklch(28.91% 0.085 303.1)
XYZxyz(3.2197, 2.1944, 7.2737)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E4D #374D1E
analogous
#1E1F4D #341E4D #4B1E4D
triadic
#341E4D #4D341E #1E4D34
tetradic
#341E4D #4D1E1F #374D1E #1E4D4B
square
#341E4D #4D1E1F #374D1E #1E4D4B
split-complementary
#341E4D #4D4B1E #1F4D1E
monochromatic
#0F0916 #160D21 #341E4D #522F79 #6F40A5

Accessibility & contrast

On white

14.60
#341E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#341E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341E4D
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E4D#FFFFFF#000000##FFFFFF
##341E4D1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C284F
Deuteranopia (green-blind)
#14294C
Tritanopia (blue-blind)
#2F2732
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #341e4d;
/* rgb */ color: rgb(52, 30, 77);
/* oklch */ color: oklch(28.9% 0.085 303.1);
Tailwind
colors: {
  custom: {
    50: '#6d5b7f',
    500: '#341e4d',
    950: '#000000',
  },
}
SCSS
$custom: #341e4d;
$custom-light: #6d5b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#341e4d",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 268.085,
    "s": 43.925,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28914,
    "c": 0.08472,
    "h": 303.1
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#341E4D
secondary
#658245
accent
#D45498
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07040A
muted
#7A797C

Preview Lab

Preview with #341E4D

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

Preview Lab → · Contrast checker → · Palette generator →

#341E4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva