#341B5E#341B5E

#341B5E is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.8% C 0.113 H 295.9°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#341B5E
RGBrgb(52, 27, 94)
HSLhsl(262, 55%, 24%)
HSVhsv(262, 71%, 37%)
CMYKcmyk(44.7%, 71.3%, 0%, 63.1%)
CIE-LABlab(17.09, 28.74, -35.62)
CIE-LCHlch(17.09, 45.77, 308.90°)
OKLaboklab(29.78% 0.0494 -0.1017)
OKLCHoklch(29.78% 0.113 295.9)
XYZxyz(3.8280, 2.3220, 10.8340)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341B5E #455E1B
analogous
#1B235E #341B5E #551B5E
triadic
#341B5E #5E341B #1B5E34
tetradic
#341B5E #5E1B23 #455E1B #1B5E55
square
#341B5E #5E1B23 #455E1B #1B5E55
split-complementary
#341B5E #5E551B #235E1B
monochromatic
#0D0718 #1A0D2E #341B5E #4E298E #6936BD

Accessibility & contrast

On white

14.34
#341B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#341B5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341B5E
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341B5E#FFFFFF#000000##FFFFFF
##341B5E1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#292B3A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #341b5e;
/* rgb */ color: rgb(52, 27, 94);
/* oklch */ color: oklch(29.8% 0.113 295.9);
Tailwind
colors: {
  custom: {
    50: '#70598c',
    500: '#341b5e',
    950: '#000000',
  },
}
SCSS
$custom: #341b5e;
$custom-light: #70598c;
$custom-dark: #000000;
JSON
{
  "hex": "#341b5e",
  "rgb": {
    "r": 52,
    "g": 27,
    "b": 94
  },
  "hsl": {
    "h": 262.388,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29782,
    "c": 0.11308,
    "h": 295.9
  },
  "luminance": 0.02322
}

Semantic roles & 50–950 ramp

primary
#341B5E
secondary
#759441
accent
#DF49A7
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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