#341D5F#341D5F

#341D5F is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.2% C 0.111 H 294.9°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#341D5F
RGBrgb(52, 29, 95)
HSLhsl(261, 53%, 24%)
HSVhsv(261, 69%, 37%)
CMYKcmyk(45.3%, 69.5%, 0%, 62.7%)
CIE-LABlab(17.62, 27.84, -35.43)
CIE-LCHlch(17.62, 45.06, 308.16°)
OKLaboklab(30.19% 0.0469 -0.1011)
OKLCHoklch(30.19% 0.111 294.9)
XYZxyz(3.9205, 2.4349, 11.0877)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D5F #485F1D
analogous
#1D275F #341D5F #551D5F
triadic
#341D5F #5F341D #1D5F34
tetradic
#341D5F #5F1D27 #485F1D #1D5F55
square
#341D5F #5F1D27 #485F1D #1D5F55
split-complementary
#341D5F #5F551D #275F1D
monochromatic
#0D0717 #1A0F30 #341D5F #4E2B8E #673ABD

Accessibility & contrast

On white

14.12
#341D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#341D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D5F
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D5F#FFFFFF#000000##FFFFFF
##341D5F1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#292C3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341d5f;
/* rgb */ color: rgb(52, 29, 95);
/* oklch */ color: oklch(30.2% 0.111 294.9);
Tailwind
colors: {
  custom: {
    50: '#705a8d',
    500: '#341d5f',
    950: '#000000',
  },
}
SCSS
$custom: #341d5f;
$custom-light: #705a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#341d5f",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 260.909,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30189,
    "c": 0.11147,
    "h": 294.9
  },
  "luminance": 0.02435
}

Semantic roles & 50–950 ramp

primary
#341D5F
secondary
#789444
accent
#DD4BAA
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #341D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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