#341D5E#341D5E

#341D5E is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.1% C 0.110 H 295.3°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#341D5E
RGBrgb(52, 29, 94)
HSLhsl(261, 53%, 24%)
HSVhsv(261, 69%, 37%)
CMYKcmyk(44.7%, 69.1%, 0%, 63.1%)
CIE-LABlab(17.54, 27.53, -34.90)
CIE-LCHlch(17.54, 44.45, 308.27°)
OKLaboklab(30.1% 0.047 -0.0996)
OKLCHoklch(30.1% 0.11 295.3)
XYZxyz(3.8754, 2.4169, 10.8498)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D5E #475E1D
analogous
#1D275E #341D5E #551D5E
triadic
#341D5E #5E341D #1D5E34
tetradic
#341D5E #5E1D27 #475E1D #1D5E55
square
#341D5E #5E1D27 #475E1D #1D5E55
split-complementary
#341D5E #5E551D #275E1D
monochromatic
#0D0717 #1A0F2F #341D5E #4E2B8D #683ABC

Accessibility & contrast

On white

14.16
#341D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#341D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D5E
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D5E#FFFFFF#000000##FFFFFF
##341D5E1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#292C3A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341d5e;
/* rgb */ color: rgb(52, 29, 94);
/* oklch */ color: oklch(30.1% 0.110 295.3);
Tailwind
colors: {
  custom: {
    50: '#6f5a8c',
    500: '#341d5e',
    950: '#000000',
  },
}
SCSS
$custom: #341d5e;
$custom-light: #6f5a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#341d5e",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 261.231,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30103,
    "c": 0.11011,
    "h": 295.3
  },
  "luminance": 0.02417
}

Semantic roles & 50–950 ramp

primary
#341D5E
secondary
#779344
accent
#DC4CA9
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #341D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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