#341D85#341D85

#341D85 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.161 H 283.9°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#341D85
RGBrgb(52, 29, 133)
HSLhsl(253, 64%, 32%)
HSVhsv(253, 78%, 52%)
CMYKcmyk(60.9%, 78.2%, 0%, 47.8%)
CIE-LABlab(21.21, 39.65, -54.08)
CIE-LCHlch(21.21, 67.06, 306.24°)
OKLaboklab(33.85% 0.0386 -0.1559)
OKLCHoklch(33.85% 0.161 283.9)
XYZxyz(6.0879, 3.3019, 22.5023)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D85 #6E851D
analogous
#1D3A85 #341D85 #681D85
triadic
#341D85 #85341D #1D8534
tetradic
#341D85 #851D3A #6E851D #1D8568
square
#341D85 #851D3A #6E851D #1D8568
split-complementary
#341D85 #85681D #3A851D
monochromatic
#0D0721 #201253 #341D85 #4828B7 #6646D7

Accessibility & contrast

On white

12.65
#341D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341D85
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D85#FFFFFF#000000##FFFFFF
##341D851.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#013B50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #341d85;
/* rgb */ color: rgb(52, 29, 133);
/* oklch */ color: oklch(33.8% 0.161 283.9);
Tailwind
colors: {
  custom: {
    50: '#765caa',
    500: '#341d85',
    950: '#000000',
  },
}
SCSS
$custom: #341d85;
$custom-light: #765caa;
$custom-dark: #000000;
JSON
{
  "hex": "#341d85",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 253.269,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33847,
    "c": 0.16058,
    "h": 283.9
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #341D85

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

Preview Lab → · Contrast checker → · Palette generator →

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