#341561#341561

#341561 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.125 H 296.3°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#341561
RGBrgb(52, 21, 97)
HSLhsl(264, 64%, 23%)
HSVhsv(264, 78%, 38%)
CMYKcmyk(46.4%, 78.4%, 0%, 62%)
CIE-LABlab(16.15, 33.00, -39.15)
CIE-LCHlch(16.15, 51.20, 310.13°)
OKLaboklab(29.2% 0.0555 -0.112)
OKLCHoklch(29.2% 0.125 296.3)
XYZxyz(3.8414, 2.1294, 11.5156)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341561 #426115
analogous
#151C61 #341561 #5A1561
triadic
#341561 #613415 #156134
tetradic
#341561 #61151C #426115 #15615A
square
#341561 #61151C #426115 #15615A
split-complementary
#341561 #615A15 #1C6115
monochromatic
#0D0519 #190A2F #341561 #4F2093 #6A2BC6

Accessibility & contrast

On white

14.73
#341561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#341561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341561
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341561#FFFFFF#000000##FFFFFF
##3415611.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002863
Deuteranopia (green-blind)
#002760
Tritanopia (blue-blind)
#28293A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #341561;
/* rgb */ color: rgb(52, 21, 97);
/* oklch */ color: oklch(29.2% 0.125 296.3);
Tailwind
colors: {
  custom: {
    50: '#71568f',
    500: '#341561',
    950: '#000000',
  },
}
SCSS
$custom: #341561;
$custom-light: #71568f;
$custom-dark: #000000;
JSON
{
  "hex": "#341561",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 264.474,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29195,
    "c": 0.12502,
    "h": 296.3
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#341561
secondary
#72983A
accent
#E740A3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341561

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

Preview Lab → · Contrast checker → · Palette generator →

#341561 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva