#341356#341356

#341356 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.114 H 301.8°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#341356
RGBrgb(52, 19, 86)
HSLhsl(270, 64%, 21%)
HSVhsv(270, 78%, 34%)
CMYKcmyk(39.5%, 77.9%, 0%, 66.3%)
CIE-LABlab(14.78, 30.92, -34.02)
CIE-LCHlch(14.78, 45.97, 312.27°)
OKLaboklab(27.91% 0.0602 -0.097)
OKLCHoklch(27.91% 0.114 301.8)
XYZxyz(3.3284, 1.8677, 8.9874)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341356 #355613
analogous
#131356 #341356 #551356
triadic
#341356 #563413 #135634
tetradic
#341356 #561313 #355613 #135655
square
#341356 #561313 #355613 #135655
split-complementary
#341356 #565513 #135613
monochromatic
#0F0619 #160824 #341356 #521E88 #7129BA

Accessibility & contrast

On white

15.29
#341356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#341356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341356
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341356#FFFFFF#000000##FFFFFF
##3413561.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#2D2333
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #341356;
/* rgb */ color: rgb(52, 19, 86);
/* oklch */ color: oklch(27.9% 0.114 301.8);
Tailwind
colors: {
  custom: {
    50: '#6f5486',
    500: '#341356',
    950: '#000000',
  },
}
SCSS
$custom: #341356;
$custom-light: #6f5486;
$custom-dark: #000000;
JSON
{
  "hex": "#341356",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 269.552,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2791,
    "c": 0.11413,
    "h": 301.8
  },
  "luminance": 0.01868
}

Semantic roles & 50–950 ramp

primary
#341356
secondary
#638E36
accent
#E74195
background
#F6F4F8
surface
#ECE8EF
border
#C7C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #341356

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

Preview Lab → · Contrast checker → · Palette generator →

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