#341C7D#341C7D

#341C7D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.152 H 285.9°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#341C7D
RGBrgb(52, 28, 125)
HSLhsl(255, 63%, 30%)
HSVhsv(255, 78%, 49%)
CMYKcmyk(58.4%, 77.6%, 0%, 51%)
CIE-LABlab(20.21, 37.70, -50.68)
CIE-LCHlch(20.21, 63.17, 306.65°)
OKLaboklab(32.89% 0.0416 -0.1459)
OKLCHoklch(32.89% 0.152 285.9)
XYZxyz(5.5320, 3.0409, 19.6935)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C7D #657D1C
analogous
#1C357D #341C7D #641C7D
triadic
#341C7D #7D341C #1C7D34
tetradic
#341C7D #7D1C35 #657D1C #1C7D64
square
#341C7D #7D1C35 #657D1C #1C7D64
split-complementary
#341C7D #7D641C #357D1C
monochromatic
#0A0619 #1F114B #341C7D #4927AF #643FD4

Accessibility & contrast

On white

13.06
#341C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#341C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C7D
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C7D#FFFFFF#000000##FFFFFF
##341C7D1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#11374B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #341c7d;
/* rgb */ color: rgb(52, 28, 125);
/* oklch */ color: oklch(32.9% 0.152 285.9);
Tailwind
colors: {
  custom: {
    50: '#755ba4',
    500: '#341c7d',
    950: '#000000',
  },
}
SCSS
$custom: #341c7d;
$custom-light: #755ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#341c7d",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 254.845,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.32891,
    "c": 0.15171,
    "h": 285.9
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#341C7D
secondary
#96B144
accent
#E641BE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #341C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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