#341C61#341C61

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

Color values

HEX#341C61
RGBrgb(52, 28, 97)
HSLhsl(261, 55%, 25%)
HSVhsv(261, 71%, 38%)
CMYKcmyk(46.4%, 71.1%, 0%, 62%)
CIE-LABlab(17.57, 29.06, -36.84)
CIE-LCHlch(17.57, 46.92, 308.27°)
OKLaboklab(30.21% 0.0478 -0.1053)
OKLCHoklch(30.21% 0.116 294.4)
XYZxyz(3.9885, 2.4235, 11.5646)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C61 #49611C
analogous
#1C2661 #341C61 #571C61
triadic
#341C61 #61341C #1C6134
tetradic
#341C61 #611C26 #49611C #1C6157
square
#341C61 #611C26 #49611C #1C6157
split-complementary
#341C61 #61571C #26611C
monochromatic
#0D0718 #1B0E32 #341C61 #4D2A90 #6737C0

Accessibility & contrast

On white

14.14
#341C61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#341C61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C61
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C61#FFFFFF#000000##FFFFFF
##341C611.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C63
Deuteranopia (green-blind)
#002A60
Tritanopia (blue-blind)
#282D3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341c61;
/* rgb */ color: rgb(52, 28, 97);
/* oklch */ color: oklch(30.2% 0.116 294.4);
Tailwind
colors: {
  custom: {
    50: '#705a8e',
    500: '#341c61',
    950: '#000000',
  },
}
SCSS
$custom: #341c61;
$custom-light: #705a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#341c61",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 97
  },
  "hsl": {
    "h": 260.87,
    "s": 55.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30205,
    "c": 0.11562,
    "h": 294.4
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#341C61
secondary
#799643
accent
#DF49AB
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #341C61

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

Preview Lab → · Contrast checker → · Palette generator →

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