#341E6F#341E6F

#341E6F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.131 H 289.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#341E6F
RGBrgb(52, 30, 111)
HSLhsl(256, 57%, 28%)
HSVhsv(256, 73%, 44%)
CMYKcmyk(53.2%, 73%, 0%, 56.5%)
CIE-LABlab(19.25, 32.22, -43.26)
CIE-LCHlch(19.25, 53.94, 306.67°)
OKLaboklab(31.8% 0.0431 -0.1242)
OKLCHoklch(31.8% 0.131 289.2)
XYZxyz(4.7489, 2.8061, 15.3273)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E6F #596F1E
analogous
#1E316F #341E6F #5C1E6F
triadic
#341E6F #6F341E #1E6F34
tetradic
#341E6F #6F1E31 #596F1E #1E6F5C
square
#341E6F #6F1E31 #596F1E #1E6F5C
split-complementary
#341E6F #6F5C1E #316F1E
monochromatic
#0B0718 #1D113F #341E6F #4B2B9F #633DCB

Accessibility & contrast

On white

13.45
#341E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341E6F
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E6F#FFFFFF#000000##FFFFFF
##341E6F1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#1F3344
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #341e6f;
/* rgb */ color: rgb(52, 30, 111);
/* oklch */ color: oklch(31.8% 0.131 289.2);
Tailwind
colors: {
  custom: {
    50: '#725c99',
    500: '#341e6f',
    950: '#000000',
  },
}
SCSS
$custom: #341e6f;
$custom-light: #725c99;
$custom-dark: #000000;
JSON
{
  "hex": "#341e6f",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 256.296,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31798,
    "c": 0.13146,
    "h": 289.2
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#341E6F
secondary
#8AA346
accent
#E147B7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #341E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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