#341D89#341D89

#341D89 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.165 H 283.1°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#341D89
RGBrgb(52, 29, 137)
HSLhsl(253, 65%, 33%)
HSVhsv(253, 79%, 54%)
CMYKcmyk(62%, 78.8%, 0%, 46.3%)
CIE-LABlab(21.63, 40.88, -55.90)
CIE-LCHlch(21.63, 69.26, 306.18°)
OKLaboklab(34.27% 0.0375 -0.1612)
OKLCHoklch(34.27% 0.165 283.1)
XYZxyz(6.3695, 3.4145, 23.9855)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D89 #72891D
analogous
#1D3C89 #341D89 #6A1D89
triadic
#341D89 #89341D #1D8934
tetradic
#341D89 #891D3C #72891D #1D896A
square
#341D89 #891D3C #72891D #1D896A
split-complementary
#341D89 #896A1D #3C891D
monochromatic
#0E0824 #211256 #341D89 #4728BC #6748D8

Accessibility & contrast

On white

12.48
#341D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#341D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D89
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D89#FFFFFF#000000##FFFFFF
##341D891.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #341d89;
/* rgb */ color: rgb(52, 29, 137);
/* oklch */ color: oklch(34.3% 0.165 283.1);
Tailwind
colors: {
  custom: {
    50: '#775cad',
    500: '#341d89',
    950: '#000000',
  },
}
SCSS
$custom: #341d89;
$custom-light: #775cad;
$custom-dark: #000000;
JSON
{
  "hex": "#341d89",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 252.778,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34266,
    "c": 0.16548,
    "h": 283.1
  },
  "luminance": 0.03415
}

Semantic roles & 50–950 ramp

primary
#341D89
secondary
#A2BA47
accent
#E840C4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #341D89

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

Preview Lab → · Contrast checker → · Palette generator →

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