#341D84#341D84

#341D84 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.159 H 284.1°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#341D84
RGBrgb(52, 29, 132)
HSLhsl(253, 64%, 32%)
HSVhsv(253, 78%, 52%)
CMYKcmyk(60.6%, 78%, 0%, 48.2%)
CIE-LABlab(21.11, 39.34, -53.62)
CIE-LCHlch(21.11, 66.50, 306.26°)
OKLaboklab(33.74% 0.0389 -0.1545)
OKLCHoklch(33.74% 0.159 284.1)
XYZxyz(6.0191, 3.2744, 22.1402)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D84 #6D841D
analogous
#1D3A84 #341D84 #681D84
triadic
#341D84 #84341D #1D8434
tetradic
#341D84 #841D3A #6D841D #1D8468
square
#341D84 #841D3A #6D841D #1D8468
split-complementary
#341D84 #84681D #3A841D
monochromatic
#0C0720 #201252 #341D84 #4828B6 #6645D6

Accessibility & contrast

On white

12.69
#341D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#341D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D84
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D84#FFFFFF#000000##FFFFFF
##341D841.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#033A4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #341d84;
/* rgb */ color: rgb(52, 29, 132);
/* oklch */ color: oklch(33.7% 0.159 284.1);
Tailwind
colors: {
  custom: {
    50: '#765ca9',
    500: '#341d84',
    950: '#000000',
  },
}
SCSS
$custom: #341d84;
$custom-light: #765ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#341d84",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 253.398,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33743,
    "c": 0.15934,
    "h": 284.1
  },
  "luminance": 0.03275
}

Semantic roles & 50–950 ramp

primary
#341D84
secondary
#9EB746
accent
#E741C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #341D84

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

Preview Lab → · Contrast checker → · Palette generator →

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