#341C5D#341C5D

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

Color values

HEX#341C5D
RGBrgb(52, 28, 93)
HSLhsl(262, 54%, 24%)
HSVhsv(262, 70%, 36%)
CMYKcmyk(44.1%, 69.9%, 0%, 63.5%)
CIE-LABlab(17.23, 27.84, -34.73)
CIE-LCHlch(17.23, 44.51, 308.71°)
OKLaboklab(29.85% 0.0483 -0.0991)
OKLCHoklch(29.85% 0.11 296)
XYZxyz(3.8067, 2.3508, 10.6070)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C5D #455D1C
analogous
#1C245D #341C5D #541C5D
triadic
#341C5D #5D341C #1C5D34
tetradic
#341C5D #5D1C24 #455D1C #1C5D54
square
#341C5D #5D1C24 #455D1C #1C5D54
split-complementary
#341C5D #5D541C #245D1C
monochromatic
#0D0718 #1A0E2E #341C5D #4E2A8C #6938BB

Accessibility & contrast

On white

14.28
#341C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#341C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C5D
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C5D#FFFFFF#000000##FFFFFF
##341C5D1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#292B39
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #341c5d;
/* rgb */ color: rgb(52, 28, 93);
/* oklch */ color: oklch(29.9% 0.110 296.0);
Tailwind
colors: {
  custom: {
    50: '#6f5a8b',
    500: '#341c5d',
    950: '#000000',
  },
}
SCSS
$custom: #341c5d;
$custom-light: #6f5a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#341c5d",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 262.154,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29854,
    "c": 0.11026,
    "h": 296
  },
  "luminance": 0.02351
}

Semantic roles & 50–950 ramp

primary
#341C5D
secondary
#759242
accent
#DD4BA7
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #341C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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