#341B5C#341B5C

#341B5C is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.6% C 0.110 H 296.7°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#341B5C
RGBrgb(52, 27, 92)
HSLhsl(263, 55%, 23%)
HSVhsv(263, 71%, 36%)
CMYKcmyk(43.5%, 70.7%, 0%, 63.9%)
CIE-LABlab(16.92, 28.14, -34.56)
CIE-LCHlch(16.92, 44.57, 309.15°)
OKLaboklab(29.61% 0.0497 -0.0986)
OKLCHoklch(29.61% 0.11 296.7)
XYZxyz(3.7394, 2.2866, 10.3675)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341B5C #435C1B
analogous
#1B225C #341B5C #541B5C
triadic
#341B5C #5C341B #1B5C34
tetradic
#341B5C #5C1B22 #435C1B #1B5C54
square
#341B5C #5C1B22 #435C1B #1B5C54
split-complementary
#341B5C #5C541B #225C1B
monochromatic
#0D0718 #190D2D #341B5C #4F298B #6937BB

Accessibility & contrast

On white

14.41
#341B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341B5C
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341B5C#FFFFFF#000000##FFFFFF
##341B5C1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#2A2A39
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #341b5c;
/* rgb */ color: rgb(52, 27, 92);
/* oklch */ color: oklch(29.6% 0.110 296.7);
Tailwind
colors: {
  custom: {
    50: '#6f598b',
    500: '#341b5c',
    950: '#000000',
  },
}
SCSS
$custom: #341b5c;
$custom-light: #6f598b;
$custom-dark: #000000;
JSON
{
  "hex": "#341b5c",
  "rgb": {
    "r": 52,
    "g": 27,
    "b": 92
  },
  "hsl": {
    "h": 263.077,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29607,
    "c": 0.11041,
    "h": 296.7
  },
  "luminance": 0.02287
}

Semantic roles & 50–950 ramp

primary
#341B5C
secondary
#739241
accent
#DE4AA5
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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