#341D5C#341D5C

#341D5C is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.9% C 0.107 H 296.1°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#341D5C
RGBrgb(52, 29, 92)
HSLhsl(262, 52%, 24%)
HSVhsv(262, 68%, 36%)
CMYKcmyk(43.5%, 68.5%, 0%, 63.9%)
CIE-LABlab(17.37, 26.92, -33.83)
CIE-LCHlch(17.37, 43.24, 308.51°)
OKLaboklab(29.93% 0.0472 -0.0965)
OKLCHoklch(29.93% 0.107 296.1)
XYZxyz(3.7868, 2.3814, 10.3833)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D5C #455C1D
analogous
#1D255C #341D5C #531D5C
triadic
#341D5C #5C341D #1D5C34
tetradic
#341D5C #5C1D25 #455C1D #1D5C53
square
#341D5C #5C1D25 #455C1D #1D5C53
split-complementary
#341D5C #5C531D #255C1D
monochromatic
#0D0717 #1A0E2D #341D5C #4E2C8B #693AB9

Accessibility & contrast

On white

14.22
#341D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341D5C
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D5C#FFFFFF#000000##FFFFFF
##341D5C1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#2A2B39
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341d5c;
/* rgb */ color: rgb(52, 29, 92);
/* oklch */ color: oklch(29.9% 0.107 296.1);
Tailwind
colors: {
  custom: {
    50: '#6f5a8b',
    500: '#341d5c',
    950: '#000000',
  },
}
SCSS
$custom: #341d5c;
$custom-light: #6f5a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#341d5c",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 92
  },
  "hsl": {
    "h": 261.905,
    "s": 52.066,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29932,
    "c": 0.10738,
    "h": 296.1
  },
  "luminance": 0.02382
}

Semantic roles & 50–950 ramp

primary
#341D5C
secondary
#759144
accent
#DC4CA7
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #341D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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