#341056#341056

#341056 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.118 H 302.5°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#341056
RGBrgb(52, 16, 86)
HSLhsl(271, 69%, 20%)
HSVhsv(271, 81%, 34%)
CMYKcmyk(39.5%, 81.4%, 0%, 66.3%)
CIE-LABlab(14.24, 32.43, -34.88)
CIE-LCHlch(14.24, 47.63, 312.91°)
OKLaboklab(27.53% 0.0634 -0.0995)
OKLCHoklch(27.53% 0.118 302.5)
XYZxyz(3.2808, 1.7725, 8.9716)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341056 #325610
analogous
#111056 #341056 #561055
triadic
#341056 #563410 #105634
tetradic
#341056 #561110 #325610 #105556
square
#341056 #561110 #325610 #105556
split-complementary
#341056 #555610 #105611
monochromatic
#10051A #150622 #341056 #531A8A #7223BD

Accessibility & contrast

On white

15.50
#341056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#341056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341056
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341056#FFFFFF#000000##FFFFFF
##3410561.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#2D2232
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #341056;
/* rgb */ color: rgb(52, 16, 86);
/* oklch */ color: oklch(27.5% 0.118 302.5);
Tailwind
colors: {
  custom: {
    50: '#705286',
    500: '#341056',
    950: '#000000',
  },
}
SCSS
$custom: #341056;
$custom-light: #705286;
$custom-dark: #000000;
JSON
{
  "hex": "#341056",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 270.857,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.27535,
    "c": 0.11798,
    "h": 302.5
  },
  "luminance": 0.01773
}

Semantic roles & 50–950 ramp

primary
#341056
secondary
#608F32
accent
#EB3C91
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #341056

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

Preview Lab → · Contrast checker → · Palette generator →

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