#341556#341556

#341556 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.2% C 0.111 H 301.3°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#341556
RGBrgb(52, 21, 86)
HSLhsl(269, 61%, 21%)
HSVhsv(269, 76%, 34%)
CMYKcmyk(39.5%, 75.6%, 0%, 66.3%)
CIE-LABlab(15.16, 29.85, -33.39)
CIE-LCHlch(15.16, 44.79, 311.79°)
OKLaboklab(28.18% 0.0579 -0.0951)
OKLCHoklch(28.18% 0.111 301.3)
XYZxyz(3.3636, 1.9383, 8.9992)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341556 #375615
analogous
#151656 #341556 #541556
triadic
#341556 #563415 #155634
tetradic
#341556 #561516 #375615 #155654
square
#341556 #561516 #375615 #155654
split-complementary
#341556 #565415 #165615
monochromatic
#0F0619 #160925 #341556 #522187 #6F2DB8

Accessibility & contrast

On white

15.13
#341556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#341556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341556
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341556#FFFFFF#000000##FFFFFF
##3415561.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#2D2433
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #341556;
/* rgb */ color: rgb(52, 21, 86);
/* oklch */ color: oklch(28.2% 0.111 301.3);
Tailwind
colors: {
  custom: {
    50: '#6f5586',
    500: '#341556',
    950: '#000000',
  },
}
SCSS
$custom: #341556;
$custom-light: #6f5586;
$custom-dark: #000000;
JSON
{
  "hex": "#341556",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 86
  },
  "hsl": {
    "h": 268.615,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28183,
    "c": 0.11137,
    "h": 301.3
  },
  "luminance": 0.01938
}

Semantic roles & 50–950 ramp

primary
#341556
secondary
#658E39
accent
#E44498
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #341556

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

Preview Lab → · Contrast checker → · Palette generator →

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