#341E6E#341E6E

#341E6E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.7% C 0.130 H 289.4°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#341E6E
RGBrgb(52, 30, 110)
HSLhsl(257, 57%, 27%)
HSVhsv(257, 73%, 43%)
CMYKcmyk(52.7%, 72.7%, 0%, 56.9%)
CIE-LABlab(19.16, 31.90, -42.77)
CIE-LCHlch(19.16, 53.35, 306.72°)
OKLaboklab(31.7% 0.0433 -0.1227)
OKLCHoklch(31.7% 0.13 289.4)
XYZxyz(4.6941, 2.7842, 15.0389)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E6E #586E1E
analogous
#1E306E #341E6E #5C1E6E
triadic
#341E6E #6E341E #1E6E34
tetradic
#341E6E #6E1E30 #586E1E #1E6E5C
square
#341E6E #6E1E30 #586E1E #1E6E5C
split-complementary
#341E6E #6E5C1E #306E1E
monochromatic
#0B0718 #1D113E #341E6E #4B2B9E #633CCA

Accessibility & contrast

On white

13.49
#341E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#341E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341E6E
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E6E#FFFFFF#000000##FFFFFF
##341E6E1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#203243
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #341e6e;
/* rgb */ color: rgb(52, 30, 110);
/* oklch */ color: oklch(31.7% 0.130 289.4);
Tailwind
colors: {
  custom: {
    50: '#725c98',
    500: '#341e6e',
    950: '#000000',
  },
}
SCSS
$custom: #341e6e;
$custom-light: #725c98;
$custom-dark: #000000;
JSON
{
  "hex": "#341e6e",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 110
  },
  "hsl": {
    "h": 256.5,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31704,
    "c": 0.13014,
    "h": 289.4
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

primary
#341E6E
secondary
#89A246
accent
#E047B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #341E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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