#341E4E#341E4E

#341E4E is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.0% C 0.086 H 302.5°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#341E4E
RGBrgb(52, 30, 78)
HSLhsl(268, 44%, 21%)
HSVhsv(268, 62%, 31%)
CMYKcmyk(33.3%, 61.5%, 0%, 69.4%)
CIE-LABlab(16.55, 22.09, -25.73)
CIE-LCHlch(16.55, 33.91, 310.65°)
OKLaboklab(28.99% 0.0463 -0.0727)
OKLCHoklch(28.99% 0.086 302.5)
XYZxyz(3.2553, 2.2087, 7.4611)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E4E #384E1E
analogous
#1E204E #341E4E #4C1E4E
triadic
#341E4E #4E341E #1E4E34
tetradic
#341E4E #4E1E20 #384E1E #1E4E4C
square
#341E4E #4E1E20 #384E1E #1E4E4C
split-complementary
#341E4E #4E4C1E #204E1E
monochromatic
#0F0916 #170D22 #341E4E #512F7A #6F40A6

Accessibility & contrast

On white

14.57
#341E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341E4E
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E4E#FFFFFF#000000##FFFFFF
##341E4E1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2950
Deuteranopia (green-blind)
#13294D
Tritanopia (blue-blind)
#2F2732
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #341e4e;
/* rgb */ color: rgb(52, 30, 78);
/* oklch */ color: oklch(29.0% 0.086 302.5);
Tailwind
colors: {
  custom: {
    50: '#6d5b80',
    500: '#341e4e',
    950: '#000000',
  },
}
SCSS
$custom: #341e4e;
$custom-light: #6d5b80;
$custom-dark: #000000;
JSON
{
  "hex": "#341e4e",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 267.5,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28988,
    "c": 0.08615,
    "h": 302.5
  },
  "luminance": 0.02209
}

Semantic roles & 50–950 ramp

primary
#341E4E
secondary
#668345
accent
#D45499
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07040A
muted
#7A797C

Preview Lab

Preview with #341E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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